SortedSetSortField
SortField for SortedSetDocValues.
A SortedSetDocValues 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 set is selected as the sort value, but this can be customized. Selectors other than the default do have some limitations to ensure that all selections happen in constant-time for performance.
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.
Set how missing values (the empty set) are sorted.
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
Whether the relevance score is needed to sort documents.