org.apache.lucene.search.spans
Class SpanScorer
Object
Scorer
SpanScorer
- Direct Known Subclasses:
- SpanRecordingScorer
class SpanScorer
- extends Scorer
Constructor Summary |
SpanScorer(Spans spans,
Weight weight,
Similarity similarity)
|
Methods inherited from class Scorer |
getSimilarity, score, score |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
spans
protected Spans spans
weight
protected Weight weight
value
protected float value
firstTime
protected boolean firstTime
more
protected boolean more
doc
protected int doc
freq
protected float freq
SpanScorer
SpanScorer(Spans spans,
Weight weight,
Similarity similarity)
throws IOException
- Throws:
IOException
next
public boolean next()
throws IOException
- Specified by:
next
in class Scorer
- Throws:
IOException
advance
protected boolean advance()
throws IOException
- Throws:
IOException
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 target)
throws IOException
- Specified by:
explain
in class Scorer
- Throws:
IOException