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, twoPhaseIterator
advanceShallow, getWeight
getChildren, setMinCompetitiveScore
private final PayloadScoreQuery.PayloadSpans spans
private PayloadSpanScorer(SpanWeight weight, PayloadScoreQuery.PayloadSpans spans, LeafSimScorer docScorer) throws java.io.IOException
java.io.IOException
protected float getPayloadScore()
protected Explanation getPayloadExplanation()
protected float getSpanScore() throws java.io.IOException
java.io.IOException
protected float scoreCurrentDoc() throws java.io.IOException
SpanScorer
SpanScorer.freq
.scoreCurrentDoc
in class SpanScorer
java.io.IOException