private class NumericRangeQuery.NumericRangeWeight
extends Object
implements Weight
| Modifier and Type | Field and Description |
|---|---|
private NumericRangeQuery |
query |
private float |
queryNorm |
private float |
queryWeight |
private Similarity |
similarity |
| Constructor and Description |
|---|
NumericRangeWeight(NumericRangeQuery query,
Searcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
explain(IndexReader reader,
int doc) |
Query |
getQuery() |
float |
getValue() |
void |
normalize(float norm) |
Scorer |
scorer(IndexReader reader) |
float |
sumOfSquaredWeights() |
private NumericRangeQuery query
private Similarity similarity
private float queryNorm
private float queryWeight
public NumericRangeWeight(NumericRangeQuery query, Searcher searcher)
public Query getQuery()
getQuery in interface Weightpublic float getValue()
getValue in interface Weightpublic float sumOfSquaredWeights()
throws IOException
sumOfSquaredWeights in interface WeightIOExceptionpublic void normalize(float norm)
normalize in interface Weightpublic Scorer scorer(IndexReader reader)
throws IOException
scorer in interface WeightIOExceptionpublic Explanation explain(IndexReader reader,
int doc)
throws IOException
explain in interface WeightIOException