private static class LongValuesSource.LongValuesSortField extends SortField
SortField.Type
Modifier and Type | Field and Description |
---|---|
(package private) LongValuesSource |
producer |
FIELD_DOC, FIELD_SCORE, missingValue, reverse, STRING_FIRST, STRING_LAST
Constructor and Description |
---|
LongValuesSortField(LongValuesSource producer,
boolean reverse) |
Modifier and Type | Method and Description |
---|---|
boolean |
needsScores()
Whether the relevance score is needed to sort documents.
|
java.lang.String |
toString() |
equals, getBytesComparator, getComparator, getComparatorSource, getField, getMissingValue, getReverse, getType, hashCode, rewrite, setBytesComparator, setMissingValue
final LongValuesSource producer
public LongValuesSortField(LongValuesSource producer, boolean reverse)
public boolean needsScores()
SortField
needsScores
in class SortField