Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 163 for readings3 (0.07 seconds)

  1. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.QUERY);
    
            // Both Document and Query
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "both" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

            String[][] readings1 = new String[1][];
            readings1[0] = new String[] { "test1" };
            String[][] readings2 = new String[1][];
            readings2[0] = new String[] { "test2" };
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "test3" };
    
            SuggestItem item1 = new SuggestItem(new String[] { "テスト1" }, readings1, new String[] { "content" }, 1, 0, -1,
    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)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    
            // Another good item
            String[][] readings3 = new String[1][];
            readings3[0] = new String[] { "another" };
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

        }
    
        @Test
        public void testMultipleReadingsConversion() {
            // Test conversion of multiple readings to SuggestItem format
            String word = "multi reading";
            float boost = 1.0f;
            List<String> readings = Arrays.asList("reading1", "reading2", "reading3", "reading4", "reading5");
            List<String> fields = Arrays.asList("field1");
            List<String> tags = Arrays.asList("tag1");
    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. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemBoundaryTest.java

        // Tests for reading arrays edge cases
        // ============================================================
    
        @Test
        public void test_manyReadingsForOneWord() {
            String[] text = { "test" };
            String[][] readings = { { "reading1", "reading2", "reading3", "reading4", "reading5", "reading6", "reading7", "reading8",
                    "reading9", "reading10" } };
    
    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)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            String[] text = { "text" };
            String[][] readings = { { "reading" } };
    
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.DOCUMENT);
    
            assertNotNull(item);
            assertEquals("text", item.getText());
            assertArrayEquals(readings, item.getReadings());
            assertNotNull(item.getFields());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestQueryBuildingTest.java

            // Multiple spaces should be collapsed to single space
            assertTrue("Should query reading_0", queryString.contains("reading_0"));
            assertTrue("Should query reading_1", queryString.contains("reading_1"));
            // Should NOT have reading_2 (spaces collapsed)
            assertFalse("Should not have reading_2", queryString.contains("reading_2"));
        }
    
        @Test
        public void test_buildQuery_withNormalizer() {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 19.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            String field = "content";
    
            List<String> readings1 = converter1.convert(text, field, "en");
            List<String> readings2 = converter2.convert(text, field, "ja");
    
            assertNotNull(readings1);
            assertNotNull(readings2);
            assertEquals("TEST", readings1.get(0));
            assertEquals("TEST", readings2.get(0));
        }
    
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testCreateBulkLineWithMultipleReadings() {
            // Test with multiple reading levels
            SuggestItem item = new SuggestItem(new String[] { "test" },
                    new String[][] { { "reading1a", "reading1b" }, { "reading2a", "reading2b" }, { "reading3" } }, new String[] { "field1" }, 5,
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java

            suggester.createNextIndex();
    
            // Index different data in new index (via update alias)
            String[][] readings2 = new String[1][];
            readings2[0] = new String[] { "next" };
            SuggestItem item2 = new SuggestItem(new String[] { "次" }, readings2, new String[] { "content" }, 1, 0, -1, new String[] { "tag1" },
                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 13.4K bytes
    - Click Count (0)
Back to Top