Package | Description |
---|---|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
Modifier and Type | Method and Description |
---|---|
static 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.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.