Class PayloadNearQuery.PayloadNearSpanScorer
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.DocsEnum
org.apache.lucene.search.Scorer
org.apache.lucene.search.spans.SpanScorer
org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
- Enclosing class:
PayloadNearQuery
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.search.Scorer
Scorer.ChildScorer -
Field Summary
Fields inherited from class org.apache.lucene.index.DocsEnum
FLAG_FREQS, FLAG_NONEFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Method Summary
Modifier and TypeMethodDescriptionvoidgetPayloads(Spans[] subSpans) floatscore()Returns the score of the current document matching the query.Methods inherited from class org.apache.lucene.search.spans.SpanScorer
advance, cost, docID, freq, nextDoc, sloppyFreqMethods inherited from class org.apache.lucene.search.Scorer
getChildren, getWeight, score, scoreMethods inherited from class org.apache.lucene.index.DocsEnum
attributesMethods inherited from class org.apache.lucene.search.DocIdSetIterator
empty
-
Method Details
-
getPayloads
- Throws:
IOException
-
score
Description copied from class:ScorerReturns the score of the current document matching the query. Initially invalid, untilDocIdSetIterator.nextDoc()orDocIdSetIterator.advance(int)is called the first time, or when called from withinCollector.collect(int).- Overrides:
scorein classSpanScorer- Throws:
IOException
-