Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for ntag1 (0.02 sec)

  1. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_query_param_model_defaults(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. 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());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            assertNotNull(request);
        }
    
        @Test
        public void test_addTag() throws Exception {
            indexQueryItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).addTag("tag1").execute().getResponse();
    
            assertNotNull(response);
            assertTrue(response.getTotal() > 0);
        }
    
        @Test
        public void test_addRole() throws Exception {
            indexQueryItems();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. tests/multi_primary_keys_test.go

    		Tags: []Tag{
    			{Locale: "ZH", Value: "tag1"},
    			{Locale: "ZH", Value: "tag2"},
    		},
    	}
    
    	DB.Save(&blog)
    	if !compareTags(blog.Tags, []string{"tag1", "tag2"}) {
    		t.Fatalf("Blog should has two tags")
    	}
    
    	// Append
    	tag3 := &Tag{Locale: "ZH", Value: "tag3"}
    	DB.Model(&blog).Association("Tags").Append([]*Tag{tag3})
    
    	if !compareTags(blog.Tags, []string{"tag1", "tag2", "tag3"}) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
            SuggestItem item2 = new SuggestItem(new String[] { "テスト" }, readings, new String[] { "content" }, 2, 0, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    
            String[][] readings2 = new String[1][];
            readings2[0] = new String[] { "query" };
            items[1] = new SuggestItem(new String[] { "クエリ" }, readings2, new String[] { "content" }, 0, 1, -1, new String[] { "tag1" },
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilderTest.java

            assertNotNull(response);
        }
    
        @Test
        public void test_addTag() throws Exception {
            indexItems();
    
            PopularWordsResponse response = suggester.popularWords().addTag("tag1").execute().getResponse();
    
            assertNotNull(response);
        }
    
        @Test
        public void test_addRole() throws Exception {
            indexItems();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] text = { "test", "text" };
            String[][] readings = { { "reading1" }, { "reading2" } };
            String[] fields = { "field1", "field2" };
            String[] tags = { "tag1", "tag2" };
            String[] roles = { "role1", "role2" };
            String[] languages = { "en", "ja" };
            SuggestItem.Kind kind = SuggestItem.Kind.QUERY;
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_query_param_models/test_tutorial001.py

                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_query_param_model_defaults(client: TestClient):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestResponseTest.java

            String[][] readings = new String[1][];
            readings[0] = new String[] { "test" };
            items.add(new SuggestItem(new String[] { "test" }, readings, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT));
    
            SuggestResponse response = new SuggestResponse("test-index", 100, words, 10, items);
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top