Package org.apache.lucene.search
Class AssertingScorer
- java.lang.Object
-
- org.apache.lucene.search.Scorer
-
- org.apache.lucene.search.AssertingScorer
-
public class AssertingScorer extends Scorer
Wraps a Scorer with additional checks
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorer
Scorer.ChildScorer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
docID()
Collection<Scorer.ChildScorer>
getChildren()
Scorer
getIn()
DocIdSetIterator
iterator()
float
score()
String
toString()
TwoPhaseIterator
twoPhaseIterator()
static Scorer
wrap(Random random, Scorer other, boolean canScore)
-
-
-
Method Detail
-
getIn
public Scorer getIn()
-
score
public float score() throws IOException
- Specified by:
score
in classScorer
- Throws:
IOException
-
getChildren
public Collection<Scorer.ChildScorer> getChildren()
- Overrides:
getChildren
in classScorer
-
iterator
public DocIdSetIterator iterator()
-
twoPhaseIterator
public TwoPhaseIterator twoPhaseIterator()
- Overrides:
twoPhaseIterator
in classScorer
-
-