Sub

abstract class Sub

Represents one sub-reader being merged

Inheritors

Properties

Link copied to clipboard

Map from old to new doc IDs

Link copied to clipboard

Mapped doc ID

Functions

Link copied to clipboard
abstract 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.