Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns an iterator that delegates to the IndexedDISI. Advancing this iterator will advance the underlying IndexedDISI, and vice-versa.

Link copied to clipboard
fun createBlockSlice(slice: IndexInput, sliceDescription: String, offset: Long, length: Long, jumpTableEntryCount: Int): IndexInput

Helper method for using .IndexedDISI. Creates a disiSlice for the IndexedDISI data blocks, without the jump-table.

Link copied to clipboard
fun createJumpTable(slice: IndexInput, offset: Long, length: Long, jumpTableEntryCount: Int): RandomAccessInput?

Helper method for using .IndexedDISI. Creates a RandomAccessInput covering only the jump-table data or null.

Link copied to clipboard

Writes the docIDs from it to out, in logical blocks, one for each 65536 docIDs in monotonically increasing gap-less order. DENSE blocks uses .DEFAULT_DENSE_RANK_POWER of 9 (every 512 docIDs / 8 longs). The caller must keep track of the number of jump-table entries (returned by this method) as well as the denseRankPower (9 for this method) and provide them when constructing an IndexedDISI for reading.

fun writeBitSet(it: DocIdSetIterator, out: IndexOutput, denseRankPower: Byte): Short

Writes the docIDs from it to out, in logical blocks, one for each 65536 docIDs in monotonically increasing gap-less order. The caller must keep track of the number of jump-table entries (returned by this method) as well as the denseRankPower and provide them when constructing an IndexedDISI for reading.