org.cdlib.xtf.textEngine
Class NumericRangeQuery.NumericRangeScorer
Object
Scorer
NumericRangeQuery.NumericRangeScorer
- Enclosing class:
- NumericRangeQuery
private class NumericRangeQuery.NumericRangeScorer
- extends Scorer
| Methods inherited from class Scorer |
getSimilarity, score, score |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NumericRangeQuery.NumericRangeScorer
public NumericRangeQuery.NumericRangeScorer(Similarity similarity,
IndexReader reader,
Weight w)
throws IOException
- Throws:
IOException
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