Queries that compute score based upon a function.
ClassDescriptionA query that retrieves all documents with a
DoubleValuesvalue matching a predicateReturns a score for each document based on a ValueSource, often some function of the value of a field.A Query wrapping a
ValueSourcethat matches docs in which the values in the value source match a configured range.A query that wraps another query, and uses a DoubleValuesSource to replace or modify the wrapped query's scoreRepresents field values as different types.Abstraction of the logic required to fill the value of a specified doc into a reusable
MutableValue.Class exposing static helper methods for generating DoubleValuesSource instances over some IndexReader statisticsInstantiates
FunctionValuesfor a particular reader.
Scorerwhich returns the result of
FunctionValues.floatVal(int)as the score for a document, and which filters out documents that don't match