public class SpanContainingQuery.SpanContainingWeight extends SpanContainQuery.SpanContainWeight
SpanWeight.Postings
Weight.DefaultBulkScorer
bigWeight, littleWeight
field, similarity, simWeight
parentQuery
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, extractTerms, prepareConjunction
explain, getSimScorer, getValueForNormalization, normalize, scorer
bulkScorer, getQuery
public SpanContainingWeight(IndexSearcher searcher, java.util.Map<Term,TermContext> terms, SpanWeight bigWeight, SpanWeight littleWeight) throws java.io.IOException
java.io.IOException
public 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 SpanWeight
context
- a LeafReaderContext for this Spansjava.io.IOException
- on error