Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for analyzeAndReading (0.1 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)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                buf.append(t).append(' ');
                if (buf.length() > maxAnalyzedContentLength) {
                    try {
                        final List<AnalyzeToken> readings = analyzer.analyzeAndReading(buf.toString().trim(), field, lang);
                        if (readings != null) {
                            tokens.addAll(readings);
                        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

                return analyzeResponse.getTokens();
            }
    
            @Override
            public List<AnalyzeToken> analyzeAndReading(final String text, final String field, final String lang) {
                try {
                    final String contentsReadingAnalyzerName = getContentsReadingAnalyzerName(field, lang);
    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