protected class BoostingTermQuery.BoostingTermWeight extends SpanWeight implements Weight
| Modifier and Type | Class and Description |
|---|---|
protected class |
BoostingTermQuery.BoostingTermWeight.BoostingSpanScorer |
idf, query, queryNorm, queryWeight, similarity, terms, value| Constructor and Description |
|---|
BoostingTermWeight(BoostingTermQuery query,
Searcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
Scorer |
scorer(IndexReader reader)
Constructs a scorer for this.
|
explain, getQuery, getValue, normalize, sumOfSquaredWeightspublic BoostingTermWeight(BoostingTermQuery query, Searcher searcher) throws java.io.IOException
java.io.IOExceptionpublic Scorer scorer(IndexReader reader) throws java.io.IOException
Weightscorer in interface Weightscorer in class SpanWeightjava.io.IOException