Package org.apache.lucene.tests.search
Class AssertingScorer
java.lang.Object
org.apache.lucene.search.Scorable
org.apache.lucene.search.Scorer
org.apache.lucene.tests.search.AssertingScorer
Wraps a Scorer with additional checks
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable
Scorable.ChildScorable
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
advanceShallow
(int target) int
docID()
getIn()
float
getMaxScore
(int upTo) iterator()
float
score()
void
setMinCompetitiveScore
(float score) toString()
static Scorer
Methods inherited from class org.apache.lucene.search.Scorable
smoothingScore
-
Method Details
-
wrap
-
getIn
-
setMinCompetitiveScore
- Overrides:
setMinCompetitiveScore
in classScorable
- Throws:
IOException
-
advanceShallow
- Overrides:
advanceShallow
in classScorer
- Throws:
IOException
-
getMaxScore
- Specified by:
getMaxScore
in classScorer
- Throws:
IOException
-
score
- Specified by:
score
in classScorable
- Throws:
IOException
-
getChildren
- Overrides:
getChildren
in classScorable
-
docID
public int docID() -
toString
-
iterator
-
twoPhaseIterator
- Overrides:
twoPhaseIterator
in classScorer
-