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
IOException
public boolean next() throws IOException
next
in class Scorer
IOException
protected boolean advance() throws IOException
IOException
public int doc()
doc
in class Scorer
public float score() throws IOException
score
in class Scorer
IOException
public boolean skipTo(int target) throws IOException
skipTo
in class Scorer
IOException
public Explanation explain(int target) throws IOException
explain
in class Scorer
IOException