public class AssertingScorer extends Scorer
Scorer.ChildScorerNO_MORE_DOCS| Modifier and Type | Method and Description |
|---|---|
int |
advance(int target) |
TwoPhaseIterator |
asTwoPhaseIterator() |
long |
cost() |
int |
docID() |
int |
freq() |
Collection<Scorer.ChildScorer> |
getChildren() |
Scorer |
getIn() |
int |
nextDoc() |
float |
score() |
String |
toString() |
static Scorer |
wrap(Random random,
Scorer other,
boolean canScore) |
all, empty, slowAdvancepublic Scorer getIn()
public float score()
throws IOException
score in class ScorerIOExceptionpublic Collection<Scorer.ChildScorer> getChildren()
getChildren in class Scorerpublic int freq()
throws IOException
freq in class ScorerIOExceptionpublic int docID()
docID in class DocIdSetIteratorpublic int nextDoc()
throws IOException
nextDoc in class DocIdSetIteratorIOExceptionpublic int advance(int target)
throws IOException
advance in class DocIdSetIteratorIOExceptionpublic long cost()
cost in class DocIdSetIteratorpublic TwoPhaseIterator asTwoPhaseIterator()
asTwoPhaseIterator in class ScorerCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.