Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addFieldLog (0.05 sec)

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

        }
    
        // Test addFieldLog with null fieldLogMap
        public void test_addFieldLog_nullFieldLogMap() {
            queryContext = new QueryContext("test", false);
            // fieldLogMap is null when isQuery is false
            queryContext.addFieldLog("field", "text");
            // Should not throw exception
        }
    
        // Test addFieldLog with existing field
    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

         */
        protected QueryBuilder convertTextQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                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