private static class DoubleValuesSource.DoubleValuesSortField extends SortField
SortField.Type
Modifier and Type | Field and Description |
---|---|
(package private) DoubleValuesSource |
producer |
FIELD_DOC, FIELD_SCORE, missingValue, reverse, STRING_FIRST, STRING_LAST
Constructor and Description |
---|
DoubleValuesSortField(DoubleValuesSource 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 DoubleValuesSource producer
public DoubleValuesSortField(DoubleValuesSource producer, boolean reverse)
public boolean needsScores()
SortField
needsScores
in class SortField