Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for tokens (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            List<AnalyzeToken> tokens1 = analyzer1.analyze(text, field, lang);
            List<AnalyzeToken> tokens2 = analyzer2.analyze(text, field, lang);
    
            assertNotNull(tokens1);
            assertNotNull(tokens2);
            assertEquals(tokens1.size(), tokens2.size());
    
            for (int i = 0; i < tokens1.size(); i++) {
                assertEquals(tokens1.get(i).getTerm(), tokens2.get(i).getTerm());
            }
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            if (langs == null || langs.length == 0) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, "", null);
                return tokens == null || tokens.size() == 0;
            }
            for (final String lang : langs) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, field, lang);
                if (tokens != null && tokens.size() > 0) {
                    return false;
                }
            }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzer.java

    /**
     * Interface for analyzing and processing suggestion tokens.
     */
    public interface SuggestAnalyzer {
    
        /**
         * Analyzes the given text and returns a list of tokens.
         *
         * @param text the text to analyze
         * @param field the field associated with the text
         * @param lang the language of the text
         * @return a list of analyzed tokens
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/AnalyzerSettingsTest.java

            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 Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

     *
     * <p>Supported languages are defined in the SUPPORTED_LANGUAGES array.</p>
     *
     * <p>Inner class:</p>
     * <ul>
     *   <li>DefaultContentsAnalyzer: Implements the SuggestAnalyzer interface to analyze text and retrieve tokens using
     *       the configured analyzers.</li>
     * </ul>
     *
     * <p>Protected static class:</p>
     * <ul>
     *   <li>FieldAnalyzerMapping: Holds the analyzer names for different types of analysis (reading, reading term,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

     * <li>TOKEN_NAME - The name of the token parameter.</li>
     * <li>TOKEN_METHOD - The HTTP method to use for the token request (GET or POST).</li>
     * <li>TOKEN_PARAMTERS - The parameters to include in the token request.</li>
     * <li>LOGIN_METHOD - The HTTP method to use for the login request (GET or POST).</li>
     * <li>LOGIN_URL - The URL to send the login request to.</li>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

    /**
     * Represents a response for a suggest request.
     * This class holds the details of the response including the index, time taken, words, total count, and suggested items.
     */
    public class SuggestResponse implements Response {
        /** The index name. */
        protected final String index;
    
        /** The time taken in milliseconds. */
        protected final long tookMs;
    
        /** The list of suggested words. */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

     * This class contains information about any errors that occurred during the operation
     * and the time taken to complete the operation.
     */
    public class SuggestDeleteResponse {
        /** List of errors that occurred during the operation. */
        protected final List<Throwable> errors = new ArrayList<>();
        /** Time taken for the operation in milliseconds. */
        protected final long took;
    
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchResultList.java

        }
    
        /**
         * Sets the time taken for the search in milliseconds.
         * @param tookInMillis The time taken in milliseconds.
         */
        public void setTookInMillis(final long tookInMillis) {
            this.tookInMillis = tookInMillis;
        }
    
        /**
         * Returns the time taken for the search in milliseconds.
         * @return The time taken in milliseconds.
         */
        public long getTookInMillis() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

     * use a tokenizer to process the input.
     *
     * <p>
     * The class provides methods to initialize the converter, convert strings, and
     * check if a tokenizer is enabled. It also includes methods to create a token
     * stream and extract reading information from the stream's attributes, although
     * the tokenizer-related functionality is currently commented out.
     * </p>
     */
    public class KatakanaConverter implements ReadingConverter {
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top