public abstract class SpanContainQuery.SpanContainWeight extends SpanWeight
SpanWeight.PostingsWeight.DefaultBulkScorer| Modifier and Type | Field and Description |
|---|---|
(package private) SpanWeight |
bigWeight |
(package private) SpanWeight |
littleWeight |
field, similarity, simScorerparentQuery| Constructor and Description |
|---|
SpanContainWeight(IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
SpanWeight bigWeight,
SpanWeight littleWeight,
float boost) |
| Modifier and Type | Method and Description |
|---|---|
void |
extractTerms(java.util.Set<Term> terms)
Extract terms from both
big and little. |
void |
extractTermStates(java.util.Map<Term,TermStates> contexts)
Collect all TermStates used by this Weight
|
(package private) java.util.ArrayList<Spans> |
prepareConjunction(LeafReaderContext context,
SpanWeight.Postings postings) |
explain, getSimScorer, getSpans, matches, scorerbulkScorer, getQuery, scorerSupplierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCacheablefinal SpanWeight bigWeight
final SpanWeight littleWeight
public SpanContainWeight(IndexSearcher searcher, java.util.Map<Term,TermStates> terms, SpanWeight bigWeight, SpanWeight littleWeight, float boost) throws java.io.IOException
java.io.IOExceptionpublic void extractTerms(java.util.Set<Term> terms)
big and little.extractTerms in class Weightjava.util.ArrayList<Spans> prepareConjunction(LeafReaderContext context, SpanWeight.Postings postings) throws java.io.IOException
java.io.IOExceptionpublic void extractTermStates(java.util.Map<Term,TermStates> contexts)
SpanWeightextractTermStates in class SpanWeightcontexts - a map to add the TermStates to