Example usage for Java org.apache.lucene.search TwoPhaseIterator fields, constructors, methods, implement or subclass
The text is from its open source code.
DocIdSetIterator | approximation |
TwoPhaseIterator(DocIdSetIterator approximation) Takes the approximation to be returned by #approximation . |
DocIdSetIterator | asDocIdSetIterator(TwoPhaseIterator twoPhaseIterator) Return a DocIdSetIterator view of the provided TwoPhaseIterator . |
float | matchCost() An estimate of the expected cost to determine that a single document #matches() . |
boolean | matches() Return whether the current doc ID that #approximation() is on matches. |
TwoPhaseIterator | unwrap(DocIdSetIterator iterator) If the given DocIdSetIterator has been created with #asDocIdSetIterator , then this will return the wrapped TwoPhaseIterator . |