Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for boost2 (1.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/resources/fess_config.properties

    zh-tw=zh-tw\n\
    zh_TW=zh-tw\n\
    zh=zh\n\
    
    # boost
    
    # Boost value for title field in queries.
    query.boost.title=0.5
    # Boost value for title field with language in queries.
    query.boost.title.lang=1.0
    # Boost value for content field in queries.
    query.boost.content=0.05
    # Boost value for content field with language in queries.
    query.boost.content.lang=0.1
    # Boost value for important content field in queries.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 14:45:37 UTC 2025
    - 54.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top