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 -
Method Summary
Modifier and TypeMethodDescriptionintadvanceShallow(int target) intdocID()getIn()floatgetMaxScore(int upTo) iterator()floatscore()voidsetMinCompetitiveScore(float score) toString()static ScorerMethods inherited from class org.apache.lucene.search.Scorable
smoothingScore
-
Method Details
-
wrap
-
getIn
-
setMinCompetitiveScore
- Overrides:
setMinCompetitiveScorein classScorable- Throws:
IOException
-
advanceShallow
- Overrides:
advanceShallowin classScorer- Throws:
IOException
-
getMaxScore
- Specified by:
getMaxScorein classScorer- Throws:
IOException
-
score
- Specified by:
scorein classScorable- Throws:
IOException
-
getChildren
- Overrides:
getChildrenin classScorable
-
docID
public int docID() -
toString
-
iterator
-
twoPhaseIterator
- Overrides:
twoPhaseIteratorin classScorer
-