Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for SuggestIndexResponse (0.28 seconds)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

         * @return The SuggestIndexResponse.
         */
        public SuggestIndexResponse index(final SuggestItem item) {
            ensureOperations();
            return indexingOps.index(index, item, badWords);
        }
    
        /**
         * Indexes multiple suggest items.
         * @param items The suggest items to index.
         * @return The SuggestIndexResponse.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

                }
            };
    
            CountDownLatch latch = new CountDownLatch(1);
            AtomicReference<SuggestIndexResponse> responseRef = new AtomicReference<>();
            AtomicReference<Throwable> errorRef = new AtomicReference<>();
    
            Deferred<SuggestIndexResponse>.Promise promise = suggester.indexer().indexFromQueryLog(emptyReader, 10, 0);
    
            promise.then(response -> {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

         * @return A Promise that will be resolved with the SuggestIndexResponse
         */
        public Deferred<SuggestIndexResponse>.Promise indexFromQueryLog(final ContentIndexingContext ctx, final QueryLogReader queryLogReader,
                final int docPerReq, final long requestInterval) {
            final Deferred<SuggestIndexResponse> deferred = new Deferred<>();
            threadPool.execute(() -> {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

                    new String[] { SuggestConstants.DEFAULT_ROLE }, null, SuggestItem.Kind.DOCUMENT);
    
            SuggestIndexResponse response = suggester.indexer().index(item);
    
            assertNotNull(response);
            assertEquals(1, response.getNumberOfInputDocs());
            assertEquals(1, response.getNumberOfSuggestDocs());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

    import org.codelibs.fess.suggest.constants.SuggestConstants;
    import org.codelibs.fess.suggest.entity.ElevateWord;
    import org.codelibs.fess.suggest.entity.SuggestItem;
    import org.codelibs.fess.suggest.index.SuggestIndexResponse;
    import org.codelibs.fess.suggest.index.contents.document.ESSourceReader;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLog;
    import org.codelibs.fess.suggest.index.contents.querylog.QueryLogReader;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 37.1K bytes
    - Click Count (0)
Back to Top