- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for boost1 (0.08 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/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/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/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) -
src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.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/query/PrefixQueryCommand.java
if (getQueryFieldConfig().notAnalyzedFieldSet.contains(field)) { return QueryBuilders.prefixQuery(field, toLowercaseWildcard(text)).boost(boost); } return QueryBuilders.matchPhrasePrefixQuery(field, toLowercaseWildcard(text)) .boost(boost) .maxExpansions(fessConfig.getQueryPrefixExpansionsAsInteger()) .slop(fessConfig.getQueryPrefixSlopAsInteger()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
* @param query the Lucene query to convert (must be a FuzzyQuery) * @param boost the boost factor to apply to the query * @return OpenSearch QueryBuilder for fuzzy matching * @throws InvalidQueryException if the query is not a FuzzyQuery */ @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final FuzzyQuery fuzzyQuery) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0)