public class AssertingScorer extends Scorer
Scorer.ChildScorer
NO_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, slowAdvance
public Scorer getIn()
public float score() throws IOException
score
in class Scorer
IOException
public Collection<Scorer.ChildScorer> getChildren()
getChildren
in class Scorer
public int freq() throws IOException
freq
in class Scorer
IOException
public int docID()
docID
in class DocIdSetIterator
public int nextDoc() throws IOException
nextDoc
in class DocIdSetIterator
IOException
public int advance(int target) throws IOException
advance
in class DocIdSetIterator
IOException
public long cost()
cost
in class DocIdSetIterator
public TwoPhaseIterator asTwoPhaseIterator()
asTwoPhaseIterator
in class Scorer
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.