Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for analyzeAndReading (0.12 sec)

  1. src/main/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzer.java

    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)
  2. 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++) {
                final String term = tokens.get(i).getTerm();
                final String reading = readingTokens.get(i).getTerm();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top