Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for boost (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("QUERY1", "QUERY2")), //
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/EditForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for editing boost document configurations in the admin interface.
     * This form extends CreateForm to include fields necessary for updating existing boost document entries,
     * including tracking information for optimistic locking and audit trails.
     * Boost documents are used to increase the relevance score of specific documents in search results.
     *
     */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top