- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 247 for boost1 (0.05 seconds)
-
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
float boost = -1.0f; try { matchAllQueryCommand.execute(context, query, boost); fail("Should throw IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("negative [boost] are not allowed")); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java
/** * Represents an elevate word entity with associated properties such as boost, readings, fields, tags, and roles. */ public class ElevateWord { /** * The elevate word. */ protected final String elevateWord; /** * The boost value associated with the elevate word. */ protected final float boost; /** * The list of readings associated with the elevate word.Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
// Test constructor with zero boost String word = "zero boost"; float boost = 0.0f; List<String> readings = Arrays.asList("reading1"); List<String> fields = Arrays.asList("field1"); List<String> tags = Arrays.asList("tag1"); List<String> roles = Arrays.asList("role1"); elevateWord = new ElevateWord(word, boost, readings, fields, tags, roles);Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final TermRangeQuery termRangeQuery) { if (logger.isDebugEnabled()) { logger.debug("TermRangeQuery: query={}, boost={}", query, boost); } return convertTermRangeQuery(context, termRangeQuery, boost); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java
public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final PrefixQuery prefixQuery) { if (logger.isDebugEnabled()) { logger.debug("PrefixQuery: query={}, boost={}", query, boost); } return convertPrefixQuery(context, prefixQuery, boost); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
"aaa"); assertQueryBuilder(MatchPhraseQueryBuilder.class, "{\"match_phrase\":{\"title\":{\"query\":\"aaa\",\"slop\":0,\"zero_terms_query\":\"NONE\",\"boost\":1.0}}}", // "title:aaa");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
} catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("boost must be a positive float")); } } @Test public void test_execute_withVeryLargeBoost() { // Test executing BoostQuery with very large boost value Term term = new Term("field", "large");
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/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java
} /** * Gets a boost document rule by its ID. * @param id The boost document rule ID. * @return Optional entity containing the boost document rule if found. */ public OptionalEntity<BoostDocumentRule> getBoostDocumentRule(final String id) { return boostDocumentRuleBhv.selectByPK(id); } /** * Stores (inserts or updates) a boost document rule.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsElevateWordCQ.java
} public void setBoost_Equal(Float boost) { setBoost_Term(boost, null); } public void setBoost_Equal(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) { setBoost_Term(boost, opLambda); } public void setBoost_Term(Float boost) { setBoost_Term(boost, null); } public void setBoost_Term(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 64.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
* @param query the Lucene query to be processed * @param boost the boost factor to apply to the query * @return the processed OpenSearch QueryBuilder */ public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { return filterChain.execute(context, query, boost); } /** * Adds a query command to the processor. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 7.2K bytes - Click Count (0)