Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_execute_withZeroBoost (0.57 sec)

  1. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            assertFalse(boolQueryBuilder.must().isEmpty());
            assertFalse(boolQueryBuilder.should().isEmpty());
            assertFalse(boolQueryBuilder.mustNot().isEmpty());
        }
    
        public void test_execute_withZeroBoost() {
            // Test executing BoostQuery with zero boost value
            Term term = new Term("field", "zero");
            TermQuery termQuery = new TermQuery(term);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            QueryBuilder result = matchAllQueryCommand.execute(context, null, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        public void test_execute_withZeroBoost() {
            // Test execute method with zero boost
            QueryContext context = new QueryContext("*:*", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = 0.0f;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top