org.cdlib.xtf.textEngine
Class NumericRangeQuery.NumericRangeWeight

Object
  extended by NumericRangeQuery.NumericRangeWeight
All Implemented Interfaces:
Serializable, Weight
Enclosing class:
NumericRangeQuery

private class NumericRangeQuery.NumericRangeWeight
extends Object
implements Weight


Field Summary
private  NumericRangeQuery query
           
private  float queryNorm
           
private  float queryWeight
           
private  Similarity similarity
           
 
Constructor Summary
NumericRangeQuery.NumericRangeWeight(NumericRangeQuery query, Searcher searcher)
           
 
Method Summary
 Explanation explain(IndexReader reader, int doc)
           
 Query getQuery()
           
 float getValue()
           
 void normalize(float norm)
           
 Scorer scorer(IndexReader reader)
           
 float sumOfSquaredWeights()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

private NumericRangeQuery query

similarity

private Similarity similarity

queryNorm

private float queryNorm

queryWeight

private float queryWeight
Constructor Detail

NumericRangeQuery.NumericRangeWeight

public NumericRangeQuery.NumericRangeWeight(NumericRangeQuery query,
                                            Searcher searcher)
Method Detail

getQuery

public Query getQuery()
Specified by:
getQuery in interface Weight

getValue

public float getValue()
Specified by:
getValue in interface Weight

sumOfSquaredWeights

public float sumOfSquaredWeights()
                          throws IOException
Specified by:
sumOfSquaredWeights in interface Weight
Throws:
IOException

normalize

public void normalize(float norm)
Specified by:
normalize in interface Weight

scorer

public Scorer scorer(IndexReader reader)
              throws IOException
Specified by:
scorer in interface Weight
Throws:
IOException

explain

public Explanation explain(IndexReader reader,
                           int doc)
                    throws IOException
Specified by:
explain in interface Weight
Throws:
IOException