getSortedNumeric

Returns SortedNumericDocValues for the field, or .emptySortedNumeric 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 or DocValuesType.NUMERIC.

IOException

if an I/O error occurs.