final class DisjunctionMaxScorer extends DisjunctionScorer
Scorer.ChildScorer
Modifier and Type | Field and Description |
---|---|
private float |
tieBreakerMultiplier |
Constructor and Description |
---|
DisjunctionMaxScorer(Weight weight,
float tieBreakerMultiplier,
java.util.List<Scorer> subScorers,
boolean needsScores)
Creates a new instance of DisjunctionMaxScorer
|
Modifier and Type | Method and Description |
---|---|
protected float |
score(DisiWrapper topList)
Compute the score for the given linked list of scorers.
|
docID, freq, getChildren, getSubMatches, iterator, score, twoPhaseIterator
DisjunctionMaxScorer(Weight weight, float tieBreakerMultiplier, java.util.List<Scorer> subScorers, boolean needsScores)
weight
- The Weight to be used.tieBreakerMultiplier
- Multiplier applied to non-maximum-scoring subqueries for a
document as they are summed into the result.subScorers
- The sub scorers this Scorer should iterate onprotected float score(DisiWrapper topList) throws java.io.IOException
DisjunctionScorer
score
in class DisjunctionScorer
java.io.IOException