Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for leading (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

         */
        public void test_name_whitespace() {
            // Leading whitespace
            testTransformer.setName("  leadingSpaces");
            assertEquals("  leadingSpaces", testTransformer.getName());
    
            // Trailing whitespace
            testTransformer.setName("trailingSpaces  ");
            assertEquals("trailingSpaces  ", testTransformer.getName());
    
            // Both leading and trailing
            testTransformer.setName("  bothSpaces  ");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. 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");
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. 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());
    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/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

         *
         * @param elevateWord the elevate word
         * @param boost the boost value
         * @param readings the list of readings
         * @param fields the list of fields
         * @param tags the list of tags
         * @param roles the list of roles
         */
        public ElevateWord(final String elevateWord, final float boost, final List<String> readings, final List<String> fields,
                final List<String> tags, final List<String> roles) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    if (readings != null && readings.length > i && readings[i].length > 0) {
                        for (final String reading : readings[i]) {
                            if (!l.contains(reading)) {
                                l.add(reading);
                            }
                        }
                    }
    
                    wordsList.add(word);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         * @param langFieldName The name of the field that contains language information.
         * @param readingConverter The converter to use for reading fields.
         * @param contentsReadingConverter The converter to use for reading content fields.
         * @param normalizer The normalizer to use for normalizing field values.
         * @param analyzer The analyzer to use for analyzing field values.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/constants/FieldNames.java

     * <li>{@link #ANALYZER_SETTINGS_FIELD_NAME} - The analyzer settings field name.</li>
     * <li>{@link #ANALYZER_SETTINGS_READING_ANALYZER} - The reading analyzer settings field.</li>
     * <li>{@link #ANALYZER_SETTINGS_READING_TERM_ANALYZER} - The reading term analyzer settings field.</li>
     * <li>{@link #ANALYZER_SETTINGS_NORMALIZE_ANALYZER} - The normalize analyzer settings field.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

    import java.io.IOException;
    import java.util.List;
    
    /**
     * Interface for converting text into its reading form.
     */
    public interface ReadingConverter {
    
        /**
         * Returns the maximum number of readings.
         *
         * @return the maximum number of readings, default is 10.
         */
        default int getMaxReadingNum() {
            return 10;
        }
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertNotNull(readings);
            assertEquals(3, readings.size());
            assertEquals("TEST_en", readings.get(0));
            assertEquals("TEST_ja", readings.get(1));
            assertEquals("TEST_fr", readings.get(2));
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
            // Test convert with no languages specified
            converter.init();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        public void testCreateDefaultReadingConverter() {
            // Test creating default reading converter
            ReadingConverter converter = SuggestUtil.createDefaultReadingConverter(client, settings);
            assertNotNull(converter);
        }
    
        @Test
        public void testCreateDefaultContentsReadingConverter() {
            // Test creating default contents reading converter
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top