Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for ReadingConverter (0.15 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverter.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.converter;
    
    import java.io.IOException;
    import java.util.List;
    
    public interface ReadingConverter {
        default int getMaxReadingNum() {
            return 10;
        }
    
        void init() throws IOException;
    
        List<String> convert(String text, final String field, String... langs) throws IOException;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 952 bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java

            settings = null;
            return this;
        }
    
        public SuggesterBuilder readingConverter(final ReadingConverter readingConverter) {
            this.readingConverter = readingConverter;
            return this;
        }
    
        public SuggesterBuilder contentsReadigConverter(final ReadingConverter contentsReadingConverter) {
            this.contentsReadingConverter = contentsReadingConverter;
            return this;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/Suggester.java

        public Suggester(final Client client, final SuggestSettings settings, final ReadingConverter readingConverter,
                final ReadingConverter contentsReadingConverter, final Normalizer normalizer, final SuggestAnalyzer analyzer,
                final ExecutorService threadPool) {
            this.client = client;
            suggestSettings = settings;
            this.readingConverter = readingConverter;
            this.contentsReadingConverter = contentsReadingConverter;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java

    import java.util.LinkedList;
    import java.util.List;
    import java.util.Queue;
    
    public class ReadingConverterChain implements ReadingConverter {
        private final List<ReadingConverter> converters = new ArrayList<>();
    
        @Override
        public void init() throws IOException {
            for (final ReadingConverter converter : converters) {
                converter.init();
            }
        }
    
        @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

                ReadingConverter readingConverter, Normalizer normalizer, SuggestAnalyzer analyzer, String[] langs);
    
        List<SuggestItem> parseQueryLog(QueryLog queryLog, String[] fields, String[] tagFieldNames, String roleFieldName,
                ReadingConverter readingConverter, Normalizer normalizer);
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

            final String settingsIndexName = "test-settings-index";
            final String settingsTypeName = "test-settings-type";
            final String id = "BuildTest";
    
            final ReadingConverter converter = new ReadingConverter() {
                @Override
                public void init() throws IOException {
    
                }
    
                @Override
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            this.roleFieldName = roleFieldName;
            return this;
        }
    
        public SuggestIndexer setReadingConverter(final ReadingConverter readingConverter) {
            this.readingConverter = readingConverter;
            return this;
        }
    
        public SuggestIndexer setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
            return this;
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        }
    
        public void setSuggestDetail(final boolean suggestDetail) {
            this.suggestDetail = suggestDetail;
        }
    
        public void setReadingConverter(final ReadingConverter readingConverter) {
            this.readingConverter = readingConverter;
        }
    
        public void setNormalizer(final Normalizer normalizer) {
            this.normalizer = normalizer;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java

    import org.codelibs.fess.suggest.converter.ReadingConverter;
    import org.codelibs.fess.suggest.normalizer.Normalizer;
    import org.codelibs.fess.suggest.request.RequestBuilder;
    import org.opensearch.client.Client;
    
    public class SuggestRequestBuilder extends RequestBuilder<SuggestRequest, SuggestResponse> {
        public SuggestRequestBuilder(final Client client, final ReadingConverter readingConverter, final Normalizer normalizer) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

        public List<SuggestItem> parseDocument(final Map<String, Object> document, final String[] fields, final String[] tagFieldNames,
                final String roleFieldName, final String langFieldName, final ReadingConverter readingConverter,
                final ReadingConverter contentsReadingConverter, final Normalizer normalizer, final SuggestAnalyzer analyzer) {
            List<SuggestItem> items = null;
            final List<String> tagList = new ArrayList<>();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top