public class PayloadNearQuery.PayloadNearSpanScorer extends SpanScorer
Scorer.ChildScorerFLAG_FREQS, FLAG_NONENO_MORE_DOCS| Modifier and Type | Method and Description |
|---|---|
void |
getPayloads(Spans[] subSpans) |
float |
score()
Returns the score of the current document matching the query.
|
advance, cost, docID, freq, nextDoc, sloppyFreqgetChildren, getWeight, score, scoreattributesemptypublic void getPayloads(Spans[] subSpans) throws IOException
IOExceptionpublic float score()
throws IOException
ScorerDocIdSetIterator.nextDoc() or DocIdSetIterator.advance(int)
is called the first time, or when called from within
Collector.collect(int).score in class SpanScorerIOExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved