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, twoPhaseIterator
getChildren, getWeight
private final PayloadScoreQuery.PayloadSpans spans
private PayloadSpanScorer(SpanWeight weight, PayloadScoreQuery.PayloadSpans spans, Similarity.SimScorer 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