Package org.apache.lucene.tests.search
Class RandomApproximationQuery.RandomTwoPhaseView
java.lang.Object
org.apache.lucene.search.TwoPhaseIterator
org.apache.lucene.tests.search.RandomApproximationQuery.RandomTwoPhaseView
- Enclosing class:
RandomApproximationQuery
A wrapper around a
DocIdSetIterator
that matches the same documents, but introduces
false positives that need to be verified via TwoPhaseIterator.matches()
.-
Field Summary
Fields inherited from class org.apache.lucene.search.TwoPhaseIterator
approximation
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.search.TwoPhaseIterator
approximation, asDocIdSetIterator, unwrap
-
Constructor Details
-
RandomTwoPhaseView
Constructor.
-
-
Method Details
-
matches
- Specified by:
matches
in classTwoPhaseIterator
- Throws:
IOException
-
matchCost
public float matchCost()- Specified by:
matchCost
in classTwoPhaseIterator
-
docIDRunEnd
- Overrides:
docIDRunEnd
in classTwoPhaseIterator
- Throws:
IOException
-