Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addHighlightedQuery (0.06 sec)

  1. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertTrue(keywords.isEmpty());
        }
    
        // Test addHighlightedQuery with null highlightedQuerySet
        public void test_addHighlightedQuery_nullSet() {
            queryContext = new QueryContext("test", false);
            queryContext.addHighlightedQuery("text");
            // Should not throw exception
        }
    
        // Test addHighlightedQuery with valid set
        public void test_addHighlightedQuery_validSet() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            context.addFieldLog(field, text);
            context.addHighlightedQuery(text);
            return buildMatchPhraseQuery(field, text).boost(boost);
        }
    
        /**
         * Converts a term query to a keyword-based exact term query.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top