class SpanScorer
extends Scorer
| Modifier and Type | Field and Description |
|---|---|
protected int |
doc |
protected boolean |
firstTime |
protected float |
freq |
protected boolean |
more |
protected Spans |
spans |
protected float |
value |
protected Weight |
weight |
| Constructor and Description |
|---|
SpanScorer(Spans spans,
Weight weight,
Similarity similarity) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
advance() |
int |
doc() |
Explanation |
explain(int target) |
boolean |
next() |
float |
score() |
boolean |
skipTo(int target) |
protected Spans spans
protected Weight weight
protected float value
protected boolean firstTime
protected boolean more
protected int doc
protected float freq
SpanScorer(Spans spans, Weight weight, Similarity similarity) throws IOException
IOExceptionpublic boolean next()
throws IOException
next in class ScorerIOExceptionprotected boolean advance()
throws IOException
IOExceptionpublic int doc()
doc in class Scorerpublic float score()
throws IOException
score in class ScorerIOExceptionpublic boolean skipTo(int target)
throws IOException
skipTo in class ScorerIOExceptionpublic Explanation explain(int target)
throws IOException
explain in class ScorerIOException