static class SynonymQuery.SynonymScorer extends DisjunctionScorer
Scorer.ChildScorer
Modifier and Type | Field and Description |
---|---|
private Similarity.SimScorer |
similarity |
Constructor and Description |
---|
SynonymScorer(Similarity.SimScorer similarity,
Weight weight,
java.util.List<Scorer> subScorers) |
Modifier and Type | Method and Description |
---|---|
protected float |
score(DisiWrapper topList)
Compute the score for the given linked list of scorers.
|
(package private) int |
tf(DisiWrapper topList)
combines TF of all subs.
|
docID, freq, getChildren, getSubMatches, iterator, score, twoPhaseIterator
private final Similarity.SimScorer similarity
SynonymScorer(Similarity.SimScorer similarity, Weight weight, java.util.List<Scorer> subScorers)
protected float score(DisiWrapper topList) throws java.io.IOException
DisjunctionScorer
score
in class DisjunctionScorer
java.io.IOException
final int tf(DisiWrapper topList) throws java.io.IOException
java.io.IOException