getSorted

open override fun getSorted(field: FieldInfo): SortedDocValues

Returns SortedDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread. The behavior is undefined if the doc values type of the given field is not DocValuesType.SORTED. The return value is never null.