static class BooleanTopLevelScorers.BoostedScorer extends FilterScorer
Scorer.ChildScorer
Modifier and Type | Field and Description |
---|---|
(package private) float |
boost |
in
Constructor and Description |
---|
BoostedScorer(Scorer in,
float boost) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Scorer.ChildScorer> |
getChildren()
Returns child sub-scorers
|
float |
score()
Returns the score of the current document matching the query.
|
docID, freq, iterator, twoPhaseIterator
BoostedScorer(Scorer in, float boost)
public float score() throws java.io.IOException
Scorer
DocIdSetIterator.nextDoc()
or
DocIdSetIterator.advance(int)
is called on the Scorer.iterator()
the first time, or when called from within LeafCollector.collect(int)
.score
in class FilterScorer
java.io.IOException
public java.util.Collection<Scorer.ChildScorer> getChildren()
Scorer
getChildren
in class Scorer