- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for boost1 (0.03 sec)
-
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
String result = scoreUpdater.execute(); assertEquals("", result); } // Test execute with single booster public void test_execute_singleBooster() { TestScoreBooster booster = new TestScoreBooster(100L); scoreUpdater.addScoreBooster(booster); String result = scoreUpdater.execute(); assertTrue(result.contains("TestScoreBooster : 100")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
} }); } /** * Retrieves a list of boosted documents for the specified KeyMatch. * * @param keyMatch The KeyMatch instance. * @return A list of boosted documents. */ public List<Map<String, Object>> getBoostedDocumentList(final KeyMatch keyMatch) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
boolQuery.filter(roleQuery); } /** * Builds boost query functions to modify document scoring based on various factors. * This method adds field value factors, key matching boosts, and custom boost functions. * * @param queryContext the query context to add boost functions to */ protected void buildBoostQuery(final QueryContext queryContext) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
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/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/opensearch/config/bsentity/BsDataConfig.java
this.available = value; } public Float getBoost() { checkSpecifiedProperty("boost"); return boost; } public void setBoost(Float value) { registerModifiedProperty("boost"); this.boost = value; } public String getCreatedBy() { checkSpecifiedProperty("createdBy");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9.9K bytes - Viewed (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");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileConfig.java
this.available = value; } public Float getBoost() { checkSpecifiedProperty("boost"); return boost; } public void setBoost(Float value) { registerModifiedProperty("boost"); this.boost = value; } public String getConfigParameter() { checkSpecifiedProperty("configParameter");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 13.7K bytes - Viewed (0)