- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 80 for boost2 (0.04 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/util/DocumentUtilTest.java
assertEquals(Float.valueOf(123.45f), DocumentUtil.getValue(doc, "floatStr", Float.class)); doc.put("boolStr", "true"); assertEquals(Boolean.TRUE, DocumentUtil.getValue(doc, "boolStr", Boolean.class)); doc.put("boolStr2", "false"); assertEquals(Boolean.FALSE, DocumentUtil.getValue(doc, "boolStr2", Boolean.class)); } public void test_boolean_conversion() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
writer.write("192.168.1.101\tHOST2\t\n"); writer.write("192.168.1.102 \t HOST3 \t \n"); } when(mockConfig.getLmHostsFileName()).thenReturn(lmhostsFile.getAbsolutePath()); // Use getByName to trigger populate assertNotNull(lmhosts.getByName("HOST1", mockContext)); assertNotNull(lmhosts.getByName("HOST2", mockContext));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K 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)