getSorted

Returns SortedDocValues for the field, or .emptySorted if it has none.

Return

docvalues instance, or an empty instance if field does not exist in this reader.

Throws

if field has docvalues, but the type is not .

IOException

if an I/O error occurs.