ByteVectorValuesSub

Constructors

Link copied to clipboard
constructor(docMap: MergeState.DocMap, values: ByteVectorValues)

Properties

Link copied to clipboard

Map from old to new doc IDs

Link copied to clipboard
Link copied to clipboard

Mapped doc ID

Link copied to clipboard

Functions

Link copied to clipboard
fun index(): Int
Link copied to clipboard
open override fun nextDoc(): Int

Returns the next document ID from this sub reader, and DocIdSetIterator.NO_MORE_DOCS when done

Link copied to clipboard

Like .nextDoc but skips over unmapped docs and returns the next mapped doc ID, or DocIdSetIterator.NO_MORE_DOCS when exhausted. This method sets .mappedDocID as a side effect.