Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for SuggestIndexResponse (0.16 seconds)

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

        protected final long took;
    
        /**
         * Constructor for SuggestIndexResponse.
         * @param numberOfSuggestDocs The number of suggest documents.
         * @param numberOfInputDocs The number of input documents.
         * @param errors A list of Throwables representing errors.
         * @param took The time taken for the operation in milliseconds.
         */
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            SuggestIndexResponse response = new SuggestIndexResponse(10, 5, errors, 100);
    
            assertNotNull(response);
            assertFalse(response.hasError());
            assertEquals(0, response.getErrors().size());
        }
    
        @Test
        public void test_getNumberOfSuggestDocs() throws Exception {
            SuggestIndexResponse response = new SuggestIndexResponse(15, 10, null, 100);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/index/operations/IndexingOperations.java

         *
         * @param index The index name
         * @param item The suggest item to index
         * @param badWords The list of bad words to filter against
         * @return The SuggestIndexResponse
         */
        public SuggestIndexResponse index(final String index, final SuggestItem item, final String[] badWords) {
            return index(index, new SuggestItem[] { item }, badWords);
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/index/operations/WordManagementOperations.java

         *
         * @param index The index name
         * @param elevateWord The elevate word to add
         * @param apply Whether to apply the change immediately (index the word)
         * @return The SuggestIndexResponse
         */
        public SuggestIndexResponse addElevateWord(final String index, final ElevateWord elevateWord, final boolean apply) {
            final String normalizedWord = normalizer.normalize(elevateWord.getElevateWord(), "");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 6.4K bytes
    - Click Count (0)
Back to Top