Uses of Class
org.apache.lucene.queries.function.FunctionScoreQuery
Package
Description
Queries that compute score based upon a function.
-
Uses of FunctionScoreQuery in org.apache.lucene.queries.function
Modifier and TypeMethodDescriptionstatic FunctionScoreQuery
FunctionScoreQuery.boostByQuery
(Query in, Query boostMatch, float boostValue) Returns a FunctionScoreQuery where the scores of a wrapped query are multiplied by a boost factor if the document being scored also matches a separate boosting query.static FunctionScoreQuery
FunctionScoreQuery.boostByValue
(Query in, DoubleValuesSource boost) Returns a FunctionScoreQuery where the scores of a wrapped query are multiplied by the value of a DoubleValuesSource.