Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Three (0.01 sec)

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

    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>
     *   <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li>
    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)
Back to top