visit

open override fun visit(docID: Int)

Called for all documents in a leaf cell that's fully contained by the query. The consumer should blindly accept the docID.


open override fun visit(docID: Int, packedValue: ByteArray)

Called for all documents in a leaf cell that crosses the query. The consumer should scrutinize the packedValue to decide whether to accept it. In the 1D case, values are visited in increasing order, and in the case of ties, in increasing docID order.