Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for Tags (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/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)
  3. 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)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            List<String> fields = new ArrayList<>();
            fields.add("field1");
            List<String> tags = new ArrayList<>();
            tags.add("tag1");
            List<String> roles = new ArrayList<>();
            roles.add("role1");
    
            elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);
    
            // Check that we get the same references
            assertTrue(readings == elevateWord.getReadings());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/helper/PopularWordHelperTest.java

            String seed = "test_seed";
            String[] tags = { "tag2", "tag1" };
            String[] roles = { "role2", "role1" };
            String[] fields = { "field2", "field1" };
            String[] excludes = { "exclude2", "exclude1" };
    
            String result1 = popularWordHelper.getCacheKey(seed, tags, roles, fields, excludes);
            String result2 = popularWordHelper.getCacheKey(seed, tags, 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

        /** The kinds field. */
        public static final String KINDS = "kinds";
        /** The timestamp field. */
        public static final String TIMESTAMP = "@timestamp";
        /** The tags field. */
        public static final String TAGS = "tags";
        /** The roles field. */
        public static final String ROLES = "roles";
        /** The fields field. */
        public static final String FIELDS = "fields";
        /** The languages field. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/general.md

    ## Documentation Tags - OpenAPI { #documentation-tags-openapi }
    
    To add tags to your *path operations*, and group them in the docs UI, read the docs for [Tutorial - Path Operation Configurations - Tags](../tutorial/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
    - 2.6K bytes
    - Viewed (0)
Back to top