ordValue

abstract fun ordValue(): Int

Returns the ordinal for the current docID. It is illegal to call this method after .advanceExact returned false.

Return

ordinal for the document: this is dense, starts at 0, then increments by 1 for the next value in sorted order.