public class SpanContainingQuery.SpanContainingWeight
extends org.apache.lucene.search.spans.SpanContainQuery.SpanContainWeight
SpanWeight.PostingsWeight.DefaultBulkScorerfield, similarity, simWeightparentQuery| Constructor and Description |
|---|
SpanContainingQuery.SpanContainingWeight(IndexSearcher searcher,
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 SpanContainingQuery.SpanContainingWeight(IndexSearcher searcher, Map<Term,TermContext> terms, SpanWeight bigWeight, SpanWeight littleWeight) throws IOException
IOExceptionpublic Spans getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) throws 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 SpansrequiredPostings - the postings information requiredIOException - on errorCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.