Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

        }
    
        protected QueryBuilder convertKeywordQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery,
                final float boost, final String field, final String text) {
            context.addFieldLog(field, text);
            context.addHighlightedQuery(text);
            return QueryBuilders.termQuery(field, text).boost(boost);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsKeyMatchCQ.java

        }
    
        public void setBoost_Equal(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Equal(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setBoost_Term(boost, opLambda);
        }
    
        public void setBoost_Term(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Term(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

            }
    
            if (isSearchField(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(StringUtils.strip(text, "*"));
                return QueryBuilders.wildcardQuery(field, toLowercaseWildcard(text)).boost(boost);
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

                    Map.of("_default", List.of("QUERY1", "QUERY2")), //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/QueryProcessorTest.java

                @Override
                public QueryBuilder execute(QueryContext context, Query query, float boost, FilterChain chain) {
                    calledFirst.set(true);
                    assertFalse(called.get());
                    QueryBuilder builder = chain.execute(context, query, boost);
                    assertTrue(called.get());
                    return builder;
                }
            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/ca/bs/BsElevateWordCA.java

        }
    
        public void setBoost_Avg(ConditionOptionCall<AvgAggregationBuilder> opLambda) {
            setBoost_Avg("boost", opLambda);
        }
    
        public void setBoost_Avg(String name, ConditionOptionCall<AvgAggregationBuilder> opLambda) {
            AvgAggregationBuilder builder = regAvgA(name, "boost");
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  10. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top