- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for fieldValueFactorFunction (0.21 sec)
-
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
} final FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ).missing(0)); functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE); return functionScoreQueryBuilder; } protected QueryRescorerBuilder buildRescore() {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
protected void buildBoostQuery(final QueryContext queryContext) { queryContext.addFunctionScore(list -> { list.add(new FilterFunctionBuilder( ScoreFunctionBuilders.fieldValueFactorFunction(ComponentUtil.getFessConfig().getIndexFieldBoost()))); ComponentUtil.getKeyMatchHelper().buildQuery(queryContext.getDefaultKeyword(), list); list.addAll(boostFunctionList); }); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
; } private QueryBuilder functionScoreQuery(QueryBuilder queryBuilder) { return QueryBuilders.functionScoreQuery(queryBuilder, ScoreFunctionBuilders.fieldValueFactorFunction("boost")); } private void assertQuery(QueryBuilder query1, QueryContext context) { assertQuery(query1, null, null, context); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 39.8K bytes - Viewed (0)