IndexedDISI
constructor(in: IndexInput, offset: Long, length: Long, jumpTableEntryCount: Int, denseRankPower: Byte, cost: Long)
This constructor always creates a new blockSlice and a new jumpTable from in, to ensure that operations are independent from the caller. See .IndexedDISI for re-use of blockSlice and jumpTable.
Parameters
in
backing data.
offset
starting offset for blocks in the backing data.
length
the number of bytes holding blocks and jump-table in the backing data.
jumpTableEntryCount
the number of blocks covered by the jump-table. This must match the number returned by .writeBitSet.
denseRankPower
the number of docIDs covered by each rank entry in DENSE blocks, expressed as 2^denseRankPower. This must match the power given in .writeBitSet
cost
normally the number of logical docIDs.