Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for indexer (0.08 sec)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            suggester.indexer().deleteBadWord("[");
            suggester.indexer().deleteBadWord("エンジン");
            assertEquals(0, suggester.settings().badword().get(false).length);
        }
    
        @Test
        public void test_popularWords() throws Exception {
            SuggestItem[] items = getPopularWordsItemSet2();
            suggester.indexer().index(items);
            suggester.refresh();
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 37.2K bytes
    - Viewed (0)
  2. README.md

    suggester.indexer()
        .indexFromDocument(reader, 2, 100)  // threads=2, batch=100
        .getResponse();
    ```
    
    ### Index from Query Logs
    
    ```java
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    
    // Add suggestions from search query logs
    QueryLog queryLog = new QueryLog("user search query", "user123");
    suggester.indexer().indexFromQueryLog(queryLog);
    ```
    
    ### Popular Words Analytics
    
    ```java
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sun Aug 31 03:31:14 UTC 2025
    - 12.1K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/suggest/Suggester.java

     *   <li>{@link #createIndexIfNothing()}: Creates a new index if no index exists.</li>
     *   <li>{@link #createNextIndex()}: Creates a new index and replaces the current update alias with the new index.</li>
     *   <li>{@link #switchIndex()}: Switches the search alias to the current update index.</li>
     *   <li>{@link #removeDisableIndices()}: Removes disabled indices.</li>
     *   <li>{@link #indexer()}: Creates a new SuggestIndexer for indexing suggestions.</li>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                preloadDate = new String(bytes, Constants.UTF_8);
                if (preloadDate.indexOf("<urlset") >= 0) {
                    // XML Sitemaps
                    bis.reset();
                    return parseXmlSitemaps(bis);
                }
                if (preloadDate.indexOf("<sitemapindex") >= 0) {
                    // XML Sitemaps Index
                    bis.reset();
                    return parseXmlSitemapsIndex(bis);
                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

        }
    
        /**
         * Indexes a single suggest item.
         * @param item The suggest item to index.
         * @return The SuggestIndexResponse.
         */
        public SuggestIndexResponse index(final SuggestItem item) {
            return index(new SuggestItem[] { item });
        }
    
        /**
         * Indexes multiple suggest items.
         * @param items The suggest items to index.
         * @return The SuggestIndexResponse.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            }
    
            if (limitPercentage.endsWith("%")) {
                this.limitPercentage = Integer.parseInt(limitPercentage.substring(0, limitPercentage.length() - 1));
            } else {
                this.limitPercentage = Integer.parseInt(limitPercentage);
            }
    
            if (this.limitPercentage > 100) {
                this.limitPercentage = 100;
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

            super.insert(accessResult, accessResult.getId() == null ? OpType.CREATE : OpType.INDEX);
        }
    
        /**
         * Updates an access result in the OpenSearch index.
         *
         * @param accessResult The access result to update.
         */
        @Override
        public void update(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, OpType.INDEX);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            BytesRef pendingOutput = fst.outputs.getNoOutput();
            fst.getFirstArc(scratchArc);
            BytesRef matchOutput = null;
    
            int index = 0;
            while (start + index < src.length) {
                final int codePoint = Character.codePointAt(src, start + index, src.length);
                if (fst.findTargetArc(ignoreCase ? Character.toLowerCase(codePoint) : codePoint, scratchArc, scratchArc, fstReader) == null) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        }
    
        /**
         * Gets the OpenSearch index name.
         *
         * @return The index name.
         */
        public String getIndex() {
            return index;
        }
    
        /**
         * Sets the OpenSearch index name.
         *
         * @param index The index name.
         */
        public void setIndex(final String index) {
            this.index = index;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        /**
         * Creates a bulk line for OpenSearch indexing from the given parameters.
         *
         * @param index the name of the OpenSearch index
         * @param type the type of the document (deprecated in newer versions of OpenSearch)
         * @param item the SuggestItem containing the data to be indexed
         * @return a string representing the bulk line for OpenSearch indexing
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
Back to top