lookupOrd

abstract fun lookupOrd(ord: Int): BytesRef?

Retrieves the value for the specified ordinal. The returned BytesRef may be re-used across calls to .lookupOrd so make sure to copy it if you want to keep it around.

Parameters

ord

ordinal to lookup (must be >= 0 and <.getValueCount)

See also

.ordValue