- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_execute_withNegativeBoost (0.1 seconds)
-
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
} else { // For DefaultQueryBuilder, we just verify it was created assertTrue(result instanceof DefaultQueryBuilder); } } @Test public void test_execute_withNegativeBoost() { // Test that BoostQuery constructor doesn't allow negative boost values Term term = new Term("field", "negative"); TermQuery termQuery = new TermQuery(term); try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
assertNotNull(result); assertTrue(result instanceof MatchAllQueryBuilder); } @Test public void test_execute_withNegativeBoost() { // Test execute method with negative boost - should throw exception QueryContext context = new QueryContext("*:*", false); MatchAllDocsQuery query = new MatchAllDocsQuery();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0)