Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 185 for Boost (0.02 seconds)

  1. src/main/java/org/codelibs/fess/suggest/entity/ElevateWord.java

    /**
     * Represents an elevate word entity with associated properties such as boost, readings, fields, tags, and roles.
     */
    public class ElevateWord {
    
        /**
         * The elevate word.
         */
        protected final String elevateWord;
    
        /**
         * The boost value associated with the elevate word.
         */
        protected final float boost;
    
        /**
         * The list of readings associated with the elevate word.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Fri Jul 04 14:00:23 GMT 2025
    - 4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * @param query the Lucene query to be processed
         * @param boost the boost factor to apply to the query
         * @return the processed OpenSearch QueryBuilder
         */
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            return filterChain.execute(context, query, boost);
        }
    
        /**
         * Adds a query command to the processor.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * 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 {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsElevateWord.java

        //                                                                            ========
        public Float getBoost() {
            checkSpecifiedProperty("boost");
            return boost;
        }
    
        public void setBoost(Float value) {
            registerModifiedProperty("boost");
            this.boost = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final WildcardQuery wildcardQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("WildcardQuery: query={}, boost={}", query, boost);
                }
                return convertWildcardQuery(context, wildcardQuery, boost);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/SearchBody.java

    /**
     * Search request body for boost document administration.
     * Extends BaseSearchBody with boost document-specific search parameters.
     */
    public class SearchBody extends BaseSearchBody {
    
        /** The URL expression pattern to search for in boost documents. */
        public String urlExpr;
    
        /** The boost expression to search for in boost documents. */
        public String boostExpr;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsKeyMatch.java

        //                                                                            ========
        public Float getBoost() {
            checkSpecifiedProperty("boost");
            return boost;
        }
    
        public void setBoost(Float value) {
            registerModifiedProperty("boost");
            this.boost = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java

        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (logger.isDebugEnabled()) {
                logger.debug("MatchAllQuery: query={}, boost={}", query, boost);
            }
            return QueryBuilders.matchAllQuery().boost(boost);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            } catch (IllegalArgumentException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("boost must be a positive float"));
            }
        }
    
        @Test
        public void test_execute_withVeryLargeBoost() {
            // Test executing BoostQuery with very large boost value
            Term term = new Term("field", "large");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (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.
     *
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top