public class AssertingScorer extends Scorer
Scorable.ChildScorable
Modifier and Type | Method and Description |
---|---|
int |
advanceShallow(int target) |
int |
docID() |
Collection<Scorable.ChildScorable> |
getChildren() |
Scorer |
getIn() |
float |
getMaxScore(int upTo) |
DocIdSetIterator |
iterator() |
float |
score() |
void |
setMinCompetitiveScore(float score) |
String |
toString() |
TwoPhaseIterator |
twoPhaseIterator() |
static Scorer |
wrap(Random random,
Scorer other,
ScoreMode scoreMode) |
public Scorer getIn()
public void setMinCompetitiveScore(float score) throws IOException
setMinCompetitiveScore
in class Scorable
IOException
public int advanceShallow(int target) throws IOException
advanceShallow
in class Scorer
IOException
public float getMaxScore(int upTo) throws IOException
getMaxScore
in class Scorer
IOException
public float score() throws IOException
score
in class Scorable
IOException
public Collection<Scorable.ChildScorable> getChildren()
getChildren
in class Scorable
public DocIdSetIterator iterator()
public TwoPhaseIterator twoPhaseIterator()
twoPhaseIterator
in class Scorer
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.