private class PayloadScoreQuery.PayloadSpanScorer extends SpanScorer
Scorer.ChildScorer| Modifier and Type | Field and Description |
|---|---|
private PayloadScoreQuery.PayloadSpans |
spans |
docScorer| Modifier | Constructor and Description |
|---|---|
private |
PayloadSpanScorer(SpanWeight weight,
PayloadScoreQuery.PayloadSpans spans,
Similarity.SimScorer docScorer) |
| Modifier and Type | Method and Description |
|---|---|
protected Explanation |
getPayloadExplanation() |
protected float |
getPayloadScore() |
protected float |
getSpanScore() |
protected float |
scoreCurrentDoc()
Score the current doc.
|
docID, freq, getSpans, iterator, score, setFreqCurrentDoc, twoPhaseIteratorgetChildren, getWeightprivate final PayloadScoreQuery.PayloadSpans spans
private PayloadSpanScorer(SpanWeight weight, PayloadScoreQuery.PayloadSpans spans, Similarity.SimScorer docScorer) throws java.io.IOException
java.io.IOExceptionprotected float getPayloadScore()
protected Explanation getPayloadExplanation()
protected float getSpanScore()
throws java.io.IOException
java.io.IOExceptionprotected float scoreCurrentDoc()
throws java.io.IOException
SpanScorerSpanScorer.freq.scoreCurrentDoc in class SpanScorerjava.io.IOException