Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 27 for ntag2 (0.03 seconds)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            // First addition
            transformer.putResultDataBody(dataMap, "tags", "tag1");
    
            // Second addition with array
            String[] tags2 = new String[] { "tag2", "tag3" };
            transformer.putResultDataBody(dataMap, "tags", tags2);
    
            // Third addition with another array
            String[] tags3 = new String[] { "tag4", "tag5" };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemMergerTest.java

            assertEquals(2.0f, merged.getUserBoost(), 0.001f); // max(1.0, 2.0)
        }
    
        @Test
        public void testMerge_tags() {
            SuggestItem item1 = createItemWithTags("text", "tag1", "tag2");
            SuggestItem item2 = createItemWithTags("text", "tag2", "tag3");
    
            SuggestItem merged = SuggestItemMerger.merge(item1, item2);
    
            String[] tags = merged.getTags();
            Set<String> tagSet = new HashSet<>(Arrays.asList(tags));
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_body_updates/test_tutorial002.py

                "price": 3,
                "tax": 10.5,
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.json() == {
            "name": "Fooz",
            "description": "Item description",
            "price": 3,
            "tax": 10.5,
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_patch_name(client: TestClient):
        response = client.patch(
            "/items/bar",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

            float boost = 2.5f;
            List<String> readings = Arrays.asList("reading1", "reading2");
            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());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16K bytes
    - Click Count (0)
  5. tests/embedded_struct_test.go

    		}
    	}
    }
    
    func TestEmbeddedTagSetting(t *testing.T) {
    	type Tag1 struct {
    		Id int64 `gorm:"autoIncrement"`
    	}
    	type Tag2 struct {
    		Id int64
    	}
    
    	type EmbeddedTag struct {
    		Tag1 Tag1 `gorm:"Embedded;"`
    		Tag2 Tag2 `gorm:"Embedded;EmbeddedPrefix:t2_"`
    		Name string
    	}
    
    	DB.Migrator().DropTable(&EmbeddedTag{})
    	err := DB.Migrator().AutoMigrate(&EmbeddedTag{})
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed May 08 04:07:58 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

            String[] tags1 = { "tag1", "tag2" };
            String[] roles1 = { "role1" };
            SuggestItem item1 = new SuggestItem(text1, readings1, null, 10L, 20L, 1.0f, tags1, roles1, null, SuggestItem.Kind.QUERY);
    
            String[] text2 = { "test" };
            String[][] readings2 = { { "test" } };
            String[] tags2 = { "tag2", "tag3" }; // tag2 overlaps
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Jan 17 05:10:37 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            runner.refresh();
    
            // Second write with update
            SuggestItem updatedItem = new SuggestItem(new String[] { "ใƒ†ใ‚นใƒˆ" }, readings, new String[] { "content" }, 2, 0, -1,
                    new String[] { "tag2" }, new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    
            SuggestWriterResult result2 =
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

        public void test_parseDocument_tagsAsStringArray() throws Exception {
            Map<String, Object> document = new HashMap<>();
            document.put("content", "test");
            document.put("label", new String[] { "tag1", "tag2" });
    
            List<SuggestItem> items = parser.parseDocument(document, supportedFields, tagFieldNames, roleFieldName, "lang",
                    defaultReadingConverter, defaultReadingConverter, defaultNormalizer, analyzer);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponseTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY));
            items.add(new SuggestItem(new String[] { "word2" }, readings, new String[] { "content" }, 0, 5, -1, new String[] { "tag2" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY));
    
            PopularWordsResponse response = new PopularWordsResponse("test-index", 100, words, 10, items);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. internal/bucket/lifecycle/rule.go

    		return p
    	}
    	return ""
    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    		for _, t := range r.Filter.And.Tags {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
Back to Top