private class PayloadScoreQuery.PayloadSpanScorer extends SpanScorer
Scorable.ChildScorable| Modifier and Type | Field and Description |
|---|---|
private PayloadScoreQuery.PayloadSpans |
spans |
docScorer| Modifier | Constructor and Description |
|---|---|
private |
PayloadSpanScorer(SpanWeight weight,
PayloadScoreQuery.PayloadSpans spans,
LeafSimScorer docScorer) |
| Modifier and Type | Method and Description |
|---|---|
protected Explanation |
getPayloadExplanation() |
protected float |
getPayloadScore() |
protected float |
getSpanScore() |
protected float |
scoreCurrentDoc()
Score the current doc.
|
docID, getMaxScore, getSpans, iterator, score, setFreqCurrentDoc, twoPhaseIteratoradvanceShallow, getWeightgetChildren, setMinCompetitiveScoreprivate final PayloadScoreQuery.PayloadSpans spans
private PayloadSpanScorer(SpanWeight weight, PayloadScoreQuery.PayloadSpans spans, LeafSimScorer 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