Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for words (0.01 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

        /**
         * Returns the list of suggested words.
         * @return The list of words.
         */
        public List<String> getWords() {
            return words;
        }
    
        /**
         * Returns the number of suggested words.
         * @return The number of words.
         */
        public int getNum() {
            return num;
        }
    
        /**
         * Returns the total number of hits.
         * @return The total number of hits.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                    final String[] words = SuggestUtil.parseQuery(queryString, field);
                    if (words.length == 0) {
                        continue;
                    }
    
                    final String[][] readings = new String[words.length][];
                    for (int j = 0; j < words.length; j++) {
                        words[j] = normalizer.normalize(words[j], field, "");
    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/request/popularwords/PopularWordsResponse.java

         * @param words the list of popular words
         * @param total the total number of words
         * @param items the list of suggested items
         */
        public PopularWordsResponse(final String index, final long tookMs, final List<String> words, final long total,
                final List<SuggestItem> items) {
            this.index = index;
            this.tookMs = tookMs;
            this.words = words;
            num = words.size();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java

     *   <li>{@code ELEVATE_WORD_TAGS} - The key for elevate word tags.</li>
     *   <li>{@code ELEVATE_WORD_ROLES} - The key for elevate word roles.</li>
     * </ul>
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@code get()} - Retrieves an array of elevate words from the settings.</li>
     *   <li>{@code add(ElevateWord elevateWord)} - Adds a new elevate word to the settings.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

    import org.opensearch.transport.client.Client;
    
    /**
     * Represents a request for popular words. This class extends {@link Request} and is parameterized
     * with {@link PopularWordsResponse}. It allows specifying various criteria for retrieving popular words,
     * such as index, size, tags, roles, fields, languages, and exclusion words.
     *
     * <p>Key functionalities include:</p>
     * <ul>
     *   <li>Setting the target index for the search.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

    /**
     * The BadWordSettings class manages the settings related to bad words.
     * It allows adding, deleting, and retrieving bad words from the settings.
     * It also supports loading default bad words from a file.
     */
    public class BadWordSettings {
        private static final Logger logger = LogManager.getLogger(BadWordSettings.class);
    
        /** Key for bad word settings. */
        public static final String BAD_WORD_SETTINGD_KEY = "badword";
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

    public interface ContentsParser {
        /**
         * Parses the given search words and creates a SuggestItem.
         *
         * @param words the array of search words
         * @param readings the array of readings corresponding to the search words
         * @param fields the array of fields associated with the search words
         * @param tags the array of tags associated with the search words
         * @param roles the array of roles associated with the search words
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        /**
         * Returns the total number of words in the suggestion index.
         * @return The total number of words.
         */
        public long getAllWordsNum() {
            return getNum(QueryBuilders.matchAllQuery());
        }
    
        /**
         * Returns the number of document words in the suggestion index.
         * @return The number of document words.
         */
        public long getDocumentWordsNum() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  9. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

         * @param fieldName The field name.
         * @param words The words to filter by.
         * @return The QueryBuilder instance.
         */
        protected QueryBuilder buildFilterQuery(final String fieldName, final List<String> words) {
            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery().minimumShouldMatch(1);
            words.stream().forEach(word -> boolQueryBuilder.should(QueryBuilders.termQuery(fieldName, word)));
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. README.md

    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    ### Popular Words Analytics
    
    ```java
    import org.codelibs.fess.suggest.request.popularwords.PopularWordsResponse;
    
    PopularWordsResponse popularWords = suggester.popularWords()
        .setSize(20)                    // top 20 words
        .setQuery("tech*")              // filter pattern
        .execute()
        .getResponse();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
Back to top