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, twoPhaseIteratorprivate final Similarity.SimScorer similarity
SynonymScorer(Similarity.SimScorer similarity, Weight weight, java.util.List<Scorer> subScorers)
protected float score(DisiWrapper topList) throws java.io.IOException
DisjunctionScorerscore in class DisjunctionScorerjava.io.IOExceptionfinal int tf(DisiWrapper topList) throws java.io.IOException
java.io.IOException