SortedNumericSortField
SortField for SortedNumericDocValues.
A SortedNumericDocValues contains multiple values for a field, so sorting with this technique "selects" a value as the representative sort value for the document.
By default, the minimum value in the list is selected as the sort value, but this can be customized.
Like sorting by string, this also supports sorting missing values as first or last, via .setMissingValue.
See also
Constructors
Properties
Returns an IndexSorter used for sorting index segments by this SortField.
Return the value to use for documents that don't have a value. A value of null indicates that default should be used.
Returns whether sort optimization should be optimized with indexed data
Functions
Returns true if o is equal to this. If a FieldComparatorSource was provided, it must properly implement equals (unless a singleton is always used).
Returns the FieldComparator to use for sorting.
Returns the FieldComparatorSource used for custom sorting
Returns the selector in use for this sort
Returns a hash code for this SortField instance. If a FieldComparatorSource was provided, it must properly implement hashCode (unless a singleton is always used).
Whether the relevance score is needed to sort documents.