- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for FilterFunctionBuilder (0.23 sec)
-
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
final List<FunctionScoreQueryBuilder.FilterFunctionBuilder> flist = new ArrayList<>(); if (isSingleWordQuery(query) && !isHiraganaQuery(query)) { flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.prefixQuery(FieldNames.TEXT, query), ScoreFunctionBuilders.weightFactorFunction(prefixMatchWeight)));
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/entity/QueryContext.java
}); } } public void addFunctionScore(final Consumer<List<FilterFunctionBuilder>> functionScoreQuery) { final List<FilterFunctionBuilder> list = new ArrayList<>(); functionScoreQuery.accept(list); queryBuilder = QueryBuilders.functionScoreQuery(queryBuilder, list.toArray(new FilterFunctionBuilder[list.size()])); } public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
reader.setLimitOfDocumentSize(fessConfig.getSuggestUpdateContentsLimitDocSizeAsInteger()); final List<FunctionScoreQueryBuilder.FilterFunctionBuilder> flist = new ArrayList<>(); flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction() .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0)