public class SpanContainingQuery.SpanContainingWeight
extends org.apache.lucene.search.spans.SpanContainQuery.SpanContainWeight
SpanWeight.PostingsWeight.DefaultBulkScorerfield, similarity, simWeightparentQuery| Constructor and Description |
|---|
SpanContainingWeight(IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
SpanWeight bigWeight,
SpanWeight littleWeight) |
| Modifier and Type | Method and Description |
|---|---|
Spans |
getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings)
Return spans from
big that contain at least one spans from little. |
extractTermContexts, extractTermsexplain, getSimScorer, getValueForNormalization, normalize, scorerbulkScorer, getQuerypublic SpanContainingWeight(IndexSearcher searcher, java.util.Map<Term,TermContext> terms, SpanWeight bigWeight, SpanWeight littleWeight) throws java.io.IOException
java.io.IOExceptionpublic Spans getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) throws java.io.IOException
big that contain at least one spans from little.
The payload is from the spans of big.getSpans in class SpanWeightcontext - a LeafReaderContext for this Spansjava.io.IOException - on errorCopyright © 2000–2017 The Apache Software Foundation. All rights reserved.