Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for three (0.01 sec)

  1. src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.exception;
    
    /**
     * Exception thrown when there is an issue with the suggest settings.
     * This exception extends {@link RuntimeException}, so it is an unchecked exception.
     *
     * <p>There are three constructors available for this exception:</p>
     * <ul>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java

            assertEquals("3", tokens.get(3).getTerm());
        }
    
        @Test
        public void testAnalyzeTokenPositions() {
            // Test that token positions are correct
            String text = "one two three";
            String field = "content";
            String lang = "en";
    
            List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang);
    
            assertNotNull(tokens);
            assertEquals(3, tokens.size());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertEquals("single", singleKeyword[0]);
        }
    
        @Test
        public void testParseQueryWithTooManyTerms() {
            // Test query with more than MAX_QUERY_TERM_NUM (5) terms
            String query = "one two three four five six seven";
            String field = "content";
            String[] keywords = SuggestUtil.parseQuery(query, field);
            assertNotNull(keywords);
            assertEquals(0, keywords.length); // Should return empty array
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexResponse.java

         * @return The number of input documents.
         */
        public int getNumberOfInputDocs() {
            return numberOfInputDocs;
        }
    
        /**
         * Checks if there are any errors.
         * @return True if there are errors, false otherwise.
         */
        public boolean hasError() {
            return hasError;
        }
    
        /**
         * Returns the list of errors.
         * @return The list of errors.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         * @param off the start offset in array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
            return inputStream.read(b, off, len);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/IntervalController.java

     * </p>
     * <ul>
     *   <li>{@code PRE_PROCESSING} - Represents the pre-processing state.</li>
     *   <li>{@code POST_PROCESSING} - Represents the post-processing state.</li>
     *   <li>{@code NO_URL_IN_QUEUE} - Indicates that there are no URLs in the queue.</li>
     *   <li>{@code WAIT_NEW_URL} - Indicates that the crawler is waiting for new URLs.</li>
     * </ul>
     */
    public interface IntervalController {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/document/DocumentReader.java

     */
    public interface DocumentReader extends Closeable {
        /**
         * Reads a document and returns its contents as a map.
         *
         * @return a map containing the document's data, or null if there are no more documents to read.
         */
        Map<String, Object> read();
    
        @Override
        void close();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/SuggestDeleteResponse.java

            this.took = took;
            if (errors != null && !errors.isEmpty()) {
                this.errors.addAll(errors);
            }
        }
    
        /**
         * Checks if the response has any errors.
         * @return True if there are errors, false otherwise.
         */
        public boolean hasError() {
            return !errors.isEmpty();
        }
    
        /**
         * Returns the list of errors.
         * @return The list of errors.
         */
    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. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResult.java

         *
         * @param t the Throwable to add
         */
        public void addFailure(final Throwable t) {
            failures.add(t);
        }
    
        /**
         * Checks if there are any failures recorded.
         *
         * @return true if there is at least one failure, false otherwise
         */
        public boolean hasFailure() {
            return !failures.isEmpty();
        }
    
        /**
         * Returns the list of failures.
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

     * It extends CrawlerSystemException and provides functionality to set and check the log level for the exception.
     *
     * <p>
     * This exception can be thrown when there are problems accessing URLs, files, or any other resources needed for crawling.
     * It includes constructors to handle messages, causes, or both.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top