Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for functionScoreQuery (0.15 sec)

  1. 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()]));
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            final FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(queryBuilder,
                    flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]));
    
            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            functionScoreQueryBuilder.scoreMode(FunctionScoreQuery.ScoreMode.MULTIPLY);
    
            return functionScoreQueryBuilder;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            if (!excludeWords.isEmpty()) {
                queryBuilder.mustNot(QueryBuilders.termsQuery(FieldNames.TEXT, excludeWords));
            }
            final FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(queryBuilder,
                    ScoreFunctionBuilders.fieldValueFactorFunction(FieldNames.QUERY_FREQ).missing(0));
            functionScoreQueryBuilder.boostMode(CombineFunction.REPLACE);
            return functionScoreQueryBuilder;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
                                flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]))
                        .boostMode(CombineFunction.MULTIPLY));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top