public class SpanPayloadCheckQuery.SpanPayloadCheckWeight extends SpanWeight
SpanWeight.PostingsWeight.DefaultBulkScorerfield, similarity, simWeightparentQuery| Constructor and Description |
|---|
SpanPayloadCheckQuery.SpanPayloadCheckWeight(IndexSearcher searcher,
Map<Term,TermContext> termContexts,
SpanWeight matchWeight) |
| Modifier and Type | Method and Description |
|---|---|
void |
extractTermContexts(Map<Term,TermContext> contexts) |
void |
extractTerms(Set<Term> terms) |
Spans |
getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
SpanScorer |
scorer(LeafReaderContext context) |
explain, getSimScorer, getValueForNormalization, normalizebulkScorer, getQuerypublic SpanPayloadCheckQuery.SpanPayloadCheckWeight(IndexSearcher searcher, Map<Term,TermContext> termContexts, SpanWeight matchWeight) throws IOException
IOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Weightpublic void extractTermContexts(Map<Term,TermContext> contexts)
extractTermContexts in class SpanWeightpublic Spans getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) throws IOException
getSpans in class SpanWeightIOExceptionpublic SpanScorer scorer(LeafReaderContext context) throws IOException
scorer in class SpanWeightIOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.