org.cdlib.xtf.textEngine
Class NumericRangeQuery.NumericRangeScorer

Object
  extended by Scorer
      extended by NumericRangeQuery.NumericRangeScorer
Enclosing class:
NumericRangeQuery

private class NumericRangeQuery.NumericRangeScorer
extends Scorer


Field Summary
(package private)  boolean checkLower
           
(package private)  boolean checkUpper
           
(package private)  NumericFieldData data
           
(package private)  int dataPos
           
(package private)  int dataSize
           
(package private)  long lowerNum
           
(package private)  float theScore
           
(package private)  long upperNum
           
 
Constructor Summary
NumericRangeQuery.NumericRangeScorer(Similarity similarity, IndexReader reader, Weight w)
           
 
Method Summary
 int doc()
           
 int docPos(int doc)
           
 Explanation explain(int doc)
           
 boolean inRange(int dataPos)
           
 boolean next()
           
 float score()
           
 boolean skipTo(int target)
           
 
Methods inherited from class Scorer
getSimilarity, score, score
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

final NumericFieldData data

theScore

final float theScore

dataSize

final int dataSize

checkLower

final boolean checkLower

lowerNum

final long lowerNum

checkUpper

final boolean checkUpper

upperNum

final long upperNum

dataPos

int dataPos
Constructor Detail

NumericRangeQuery.NumericRangeScorer

public NumericRangeQuery.NumericRangeScorer(Similarity similarity,
                                            IndexReader reader,
                                            Weight w)
                                     throws IOException
Throws:
IOException
Method Detail

next

public boolean next()
             throws IOException
Specified by:
next in class Scorer
Throws:
IOException

inRange

public final boolean inRange(int dataPos)

docPos

public int docPos(int doc)

doc

public int doc()
Specified by:
doc in class Scorer

score

public float score()
            throws IOException
Specified by:
score in class Scorer
Throws:
IOException

skipTo

public boolean skipTo(int target)
               throws IOException
Specified by:
skipTo in class Scorer
Throws:
IOException

explain

public Explanation explain(int doc)
                    throws IOException
Specified by:
explain in class Scorer
Throws:
IOException