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, twoPhaseIteratorBoostedScorer(Scorer in, float boost)
public float score()
throws java.io.IOException
ScorerDocIdSetIterator.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 FilterScorerjava.io.IOExceptionpublic java.util.Collection<Scorer.ChildScorer> getChildren()
ScorergetChildren in class Scorer