Java org.apache.lucene.search TwoPhaseIterator fields, constructors, methods, implement or subclass

Example usage for Java org.apache.lucene.search TwoPhaseIterator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.lucene.search TwoPhaseIterator.

The text is from its open source code.

Field

DocIdSetIteratorapproximation

Constructor

TwoPhaseIterator(DocIdSetIterator approximation)
Takes the approximation to be returned by #approximation .

Method

DocIdSetIteratorasDocIdSetIterator(TwoPhaseIterator twoPhaseIterator)
Return a DocIdSetIterator view of the provided TwoPhaseIterator .
floatmatchCost()
An estimate of the expected cost to determine that a single document #matches() .
booleanmatches()
Return whether the current doc ID that #approximation() is on matches.
TwoPhaseIteratorunwrap(DocIdSetIterator iterator)
If the given DocIdSetIterator has been created with #asDocIdSetIterator , then this will return the wrapped TwoPhaseIterator .