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 Weight
public float getValue()
getValue
in interface Weight
public float sumOfSquaredWeights() throws IOException
sumOfSquaredWeights
in interface Weight
IOException
public void normalize(float norm)
normalize
in interface Weight
public Scorer scorer(IndexReader reader) throws IOException
scorer
in interface Weight
IOException
public Explanation explain(IndexReader reader, int doc) throws IOException
explain
in interface Weight
IOException