- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 200 for boost (0.02 sec)
-
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
logger.info("Execute method called with query: {} and boost: {}", query, boost); } public void test_execute_withHighBoost() { // Test execute with high boost value QueryContext context = new QueryContext("test", false); MatchAllDocsQuery query = new MatchAllDocsQuery(); float boost = 10.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) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
/** * Converts a TermQuery to a QueryBuilder with the given boost value. * * @param context the query context * @param termQuery the term query to convert * @param boost the boost value to apply * @return the converted QueryBuilder */ protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.6K bytes - Viewed (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);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (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.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java
/** * A matcher class for applying document boost values based on configurable expressions. * This class evaluates match and boost expressions against document data to determine * if a document should receive a boost and what boost value to apply. It supports * script-based expressions for flexible document scoring. * */ public class DocBoostMatcher { /** The expression used to calculate the boost value (defaults to "0") */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
fail("Should have thrown IllegalArgumentException for negative boost"); } catch (IllegalArgumentException e) { // Expected exception assertTrue(e.getMessage().contains("boost must be a positive float")); } } public void test_execute_withVeryLargeBoost() { // Test executing BoostQuery with very large boost value Term term = new Term("field", "large");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
@Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final TermRangeQuery termRangeQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return convertTermRangeQuery(context, termRangeQuery, boost); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.9K bytes - Viewed (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.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
@Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final WildcardQuery wildcardQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); } return convertWildcardQuery(context, wildcardQuery, boost); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.6K bytes - Viewed (0)