getBinary

abstract fun getBinary(field: FieldInfo): BinaryDocValues?

Returns BinaryDocValues 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.BINARY. The return value is never null.