Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for tags2 (0.02 sec)

  1. tests/multi_primary_keys_test.go

    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if count := DB.Model(&blog).Association("Tags").Count(); count != 3 {
    		t.Fatalf("Blog should has 3 tags after Append, got %v", count)
    	}
    
    	var tags []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags)
    	if !compareTags(tags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Should find 3 tags")
    	}
    
    	var blog1 Blog
    	DB.Preload("Tags").Find(&blog1)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String[] tags1 = { "tag1", "tag2" };
            String[] tags2 = { "tag2", "tag1" };
            String[] roles = { "role1" };
            String[] fields = { "field1" };
            String[] excludes = { "exclude1" };
    
            String result1 = popularWordHelper.getCacheKey(seed, tags1, roles, fields, excludes);
            String result2 = popularWordHelper.getCacheKey(seed, tags2, roles, fields, excludes);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] fields = { "field1", "field2" };
            item.setFields(fields);
            assertArrayEquals(fields, item.getFields());
    
            // Test tags
            String[] tags = { "tag1", "tag2" };
            item.setTags(tags);
            assertArrayEquals(tags, item.getTags());
    
            // Test roles
            String[] roles = { "admin", "user" };
            item.setRoles(roles);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            readings[1] = new String[] { "enjin", "fuga" };
            String[] tags = new String[] { "tag1", "tag2" };
            String[] roles = new String[] { SuggestConstants.DEFAULT_ROLE, "role1", "role2", "role3" };
            queryItems[0] = new SuggestItem(new String[] { "検索", "エンジン" }, readings, new String[] { "content" }, 1, 0, -1, tags, roles, null,
                    SuggestItem.Kind.DOCUMENT);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

        }
    
        public void test_parse() {
            PrunedTag[] tags = PrunedTag.parse("");
            assertEquals(0, tags.length);
    
            tags = PrunedTag.parse("a");
            assertEquals(1, tags.length);
            assertEquals("PrunedTag [tag=a, id=null, css=null, attrName=null, attrValue=null]", tags[0].toString());
    
            tags = PrunedTag.parse("a#test");
            assertEquals(1, tags.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 21K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            List<String> fields = Arrays.asList("field1", "field2");
            List<String> tags = Arrays.asList("tag1", "tag2");
            List<String> roles = Arrays.asList("role1", "role2");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
            assertEquals(word, elevateWord.getElevateWord());
            assertEquals(boost, elevateWord.getBoost(), 0.001f);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/metadata.md

    /// tip
    
    You don't have to add metadata for all the tags that you use.
    
    ///
    
    ### Use your tags { #use-your-tags }
    
    Use the `tags` parameter with your *path operations* (and `APIRouter`s) to assign them to different tags:
    
    {* ../../docs_src/metadata/tutorial004.py hl[21,26] *}
    
    /// info
    
    Read more about tags in [Path Operation Configuration](path-operation-configuration.md#tags){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

         */
        public List<String> getWordList(final SearchRequestType searchRequestType, final String seed, final String[] tags, final String[] roles,
                final String[] fields, final String[] excludes) {
            final String baseSeed = seed != null ? seed : fessConfig.getSuggestPopularWordSeed();
            final String[] baseTags = tags != null ? tags : fessConfig.getSuggestPopularWordTagsAsArray();
            final String[] baseRoles = roles != null ? roles
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

            this.fields = fields;
            if (tags == null) {
                this.tags = Collections.emptyList();
            } else {
                this.tags = tags;
            }
            if (roles == null) {
                this.roles = Collections.emptyList();
            } else {
                this.roles = roles;
            }
        }
    
        /**
         * Returns the elevate word.
         *
         * @return the elevate word
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. cmd/api-headers.go

    	}
    
    	// Set tag count if object has tags
    	if len(objInfo.UserTags) > 0 {
    		tags, _ := tags.ParseObjectTags(objInfo.UserTags)
    		if tags != nil && tags.Count() > 0 {
    			w.Header()[xhttp.AmzTagCount] = []string{strconv.Itoa(tags.Count())}
    			if opts.Tagging {
    				// This is MinIO only extension to return back tags along with the count.
    				w.Header()[xhttp.AmzObjectTagging] = []string{objInfo.UserTags}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top