ConstantLongValuesSource
A ConstantLongValuesSource that always returns a constant value
Functions
Link copied to clipboard
Create a sort field based on the value of this producer
Link copied to clipboard
Returns a LongValues instance for the passed-in LeafReaderContext and scores
Link copied to clipboard
Link copied to clipboard
Return true if document scores are needed to calculate values
Link copied to clipboard
Return a LongValuesSource specialised for the given IndexSearcher
Link copied to clipboard
Convert to a DoubleValuesSource by casting long values to doubles