LongValuesSource
Base class for producing LongValues
To obtain a LongValues object for a leaf reader, clients should call .rewrite against the top-level searcher, and then .getValues.
LongValuesSource objects for long and int-valued NumericDocValues fields can be obtained by calling .fromLongField and .fromIntField.
To obtain a LongValuesSource from a float or double-valued NumericDocValues field, use or DoubleValuesSource.fromDoubleField and then call DoubleValuesSource.toLongValuesSource.
Inheritors
Functions
Create a sort field based on the value of this producer
Returns a LongValues instance for the passed-in LeafReaderContext and scores
Return true if document scores are needed to calculate values
Return a LongValuesSource specialised for the given IndexSearcher
Convert to a DoubleValuesSource by casting long values to doubles