Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AnalyzeToken (0.23 sec)

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

                                .actionGet(settings.getIndicesTimeout());
    
                final List<AnalyzeToken> readingTokenList = readingResponse.getTokens();
                final List<AnalyzeToken> termTokenList = termResponse.getTokens();
    
                final StringBuilder readingBuf = new StringBuilder(text.length());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                final String lang = document.get(langFieldName) == null ? null : document.get(langFieldName).toString();
    
                final List<AnalyzeToken> tokens = analyzeText(analyzer, field, text, lang);
                if (tokens == null) {
                    continue;
                }
                List<AnalyzeToken> readingTokens = analyzeTextByReading(analyzer, field, text, lang);
                if (readingTokens.size() != tokens.size()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.client.Client;
    
    public class AnalyzerNormalizer implements Normalizer {
        protected final Client client;
        protected final AnalyzerSettings analyzerSettings;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzer.java

     */
    package org.codelibs.fess.suggest.analysis;
    
    import java.util.List;
    
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    
    public interface SuggestAnalyzer {
        List<AnalyzeToken> analyze(String text, String field, String lang);
    
        List<AnalyzeToken> analyzeAndReading(String text, String field, String lang);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 962 bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            SuggestAnalyzer analyzer = SuggestUtil.createDefaultAnalyzer(runner.client(), settings);
            final List<AnalyzeToken> tokens = analyzer.analyze(text, "", null);
            final List<AnalyzeToken> readingTokens = analyzer.analyzeAndReading(text, "", null);
    
            int matchCount = 0;
            for (int i = 0; i < tokens.size(); i++) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

    import org.codelibs.fess.suggest.util.SuggestUtil;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.action.admin.indices.exists.indices.IndicesExistsResponse;
    import org.opensearch.action.admin.indices.settings.get.GetSettingsResponse;
    import org.opensearch.action.search.SearchResponse;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top