MultiLevelSkipListReader

This abstract class reads skip lists with multiple levels.

See MultiLevelSkipListWriter for the information about the encoding of the multi level skip lists.

Subclasses must implement the abstract method readSkipData which defines the actual format of the skip data.

Properties

Link copied to clipboard
val doc: Int

Returns the id of the doc to which the last call of skipTo has skipped.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun init(skipPointer: Long, df: Int)

Initializes the reader, for reuse on a new term.

Link copied to clipboard
open fun skipTo(target: Int): Int

Skips entries to the first beyond the current whose document number is greater than or equal to target. Returns the current doc count.