public class SpanPayloadCheckQuery.SpanPayloadCheckWeight extends SpanWeight
SpanWeight.PostingsWeight.DefaultBulkScorer, Weight.StartDISIWrapperfield, similarity, simScorerparentQuery| Constructor and Description |
|---|
SpanPayloadCheckWeight(IndexSearcher searcher,
Map<Term,TermStates> termStates,
SpanWeight matchWeight,
float boost) |
| Modifier and Type | Method and Description |
|---|---|
void |
extractTerms(Set<Term> terms) |
void |
extractTermStates(Map<Term,TermStates> contexts) |
Spans |
getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
boolean |
isCacheable(LeafReaderContext ctx) |
SpanScorer |
scorer(LeafReaderContext context) |
explain, getSimScorer, matchesbulkScorer, getQuery, scorerSupplierpublic SpanPayloadCheckWeight(IndexSearcher searcher, Map<Term,TermStates> termStates, SpanWeight matchWeight, float boost) throws IOException
IOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Weightpublic void extractTermStates(Map<Term,TermStates> contexts)
extractTermStates 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 SpanWeightIOExceptionpublic boolean isCacheable(LeafReaderContext ctx)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.