Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for convertKey (0.04 sec)

  1. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

    import org.apache.lucene.search.TermQuery;
    import org.codelibs.core.CoreLibConstants;
    import org.codelibs.fess.suggest.converter.AnalyzerConverter;
    import org.codelibs.fess.suggest.converter.KatakanaToAlphabetConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.converter.ReadingConverterChain;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

        private ReadingConverter converter;
        private TestReadingConverter testConverter;
    
        @Before
        public void setUp() {
            testConverter = new TestReadingConverter();
            converter = testConverter;
        }
    
        @Test
        public void testGetMaxReadingNum() {
            // Test default max reading num
            assertEquals(10, converter.getMaxReadingNum());
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            // Test init method (should do nothing)
            converter.init();
            // No exception should be thrown
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
            // Test convert with no languages specified
            String text = "test text";
            String field = "content";
    
            List<String> results = converter.convert(text, field);
    
            assertNotNull(results);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

     * possible readings.
     * </p>
     *
     * <p>
     * The class also utilizes ICU4J's {@link com.ibm.icu.text.Transliterator} to convert full-width characters
     * to half-width and to convert any characters to lowercase, ensuring consistency in the output.
     * </p>
     *
     * <p>
     * Example:
     * For the input "キャ", the converter might return a list containing "kya".
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                FileUtil.deleteInBackground(inputFile);
                FileUtil.deleteInBackground(outputFile);
            }
        }
    
        /**
         * Gets the output content from the converted file.
         *
         * @param outputFile the converted output file
         * @param outExt the output file extension
         * @return the extracted text content
         * @throws ExtractException if an error occurs while reading the file
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test creating default reading converter
            ReadingConverter converter = SuggestUtil.createDefaultReadingConverter(client, settings);
            assertNotNull(converter);
        }
    
        @Test
        public void testCreateDefaultContentsReadingConverter() {
            // Test creating default contents reading converter
            ReadingConverter converter = SuggestUtil.createDefaultContentsReadingConverter(client, settings);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

     * <li>{@link #badWords} - List of bad words.
     * <li>{@link #parallel} - Flag for parallel processing.
     * <li>{@link #readingConverter} - Reading converter.
     * <li>{@link #contentsReadingConverter} - Contents reading converter.
     * <li>{@link #normalizer} - Normalizer.
     * <li>{@link #analyzer} - Suggest analyzer.
     * <li>{@link #contentsParser} - Contents parser.
     * <li>{@link #suggestWriter} - Suggest writer.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

         */
        public void setScrollSize(final int scrollSize) {
            this.scrollSize = scrollSize;
        }
    
        /**
         * Converter for handling timestamps in OpenSearch.
         */
        protected static class EsTimestampConverter implements Converter {
            /**
             * Creates a new instance of EsTimestampConverter.
             */
            public EsTimestampConverter() {
                // NOP
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         *
         * @param <T> The target type.
         * @param field The field value from OpenSearch.
         * @param clazz The target class.
         * @return The converted field value.
         */
        @SuppressWarnings("unchecked")
        private <T> T getFieldValue(final Object field, final Class<T> clazz) {
            if (field == null) {
                return null;
            }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/Suggester.java

        protected final Client client;
        /** The suggest settings. */
        protected final SuggestSettings suggestSettings;
        /** The reading converter. */
        protected final ReadingConverter readingConverter;
        /** The contents reading converter. */
        protected final ReadingConverter contentsReadingConverter;
        /** The normalizer. */
        protected final Normalizer normalizer;
        /** The analyzer. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
Back to top