DocValuesRangeIterator
Wrapper around a TwoPhaseIterator for a doc-values range query that speeds things up by taking advantage of a DocValuesSkipper.
Constructors
Types
Functions
Return an approximation. The returned DocIdSetIterator is a superset of the matching documents, and each match needs to be confirmed with .matches in order to know whether it matches or not.
An estimate of the expected cost to determine that a single document .matches. This can be called before iterating the documents of .approximation. Returns an expected cost in number of simple operations like addition, multiplication, comparing two numbers and indexing an array. The returned value must be positive.
Return whether the current doc ID that .approximation is on matches. This method should only be called when the iterator is positioned -- ie. not when is -1 or DocIdSetIterator.NO_MORE_DOCS -- and at most once.