public class SpanWithinQuery.SpanWithinWeight extends SpanContainQuery.SpanContainWeight
SpanWeight.PostingsWeight.DefaultBulkScorerbigWeight, littleWeightfield, similarity, simWeightparentQuery| Constructor and Description |
|---|
SpanWithinWeight(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
little that are contained in a spans from big. |
extractTermContexts, extractTerms, prepareConjunctionexplain, getSimScorer, getValueForNormalization, normalize, scorerbulkScorer, getQuerypublic SpanWithinWeight(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
little that are contained in a spans from big.
The payload is from the spans of little.getSpans in class SpanWeightcontext - a LeafReaderContext for this Spansjava.io.IOException - on error