public class AssertingSpanWeight extends SpanWeight
SpanWeight.PostingsWeight.DefaultBulkScorer, Weight.StartDISIWrapperfield, similarity, simScorerparentQuery| Constructor and Description |
|---|
AssertingSpanWeight(IndexSearcher searcher,
SpanWeight in)
Create an AssertingSpanWeight
|
| Modifier and Type | Method and Description |
|---|---|
Explanation |
explain(LeafReaderContext context,
int doc) |
void |
extractTerms(Set<Term> terms) |
void |
extractTermStates(Map<Term,TermStates> contexts) |
LeafSimScorer |
getSimScorer(LeafReaderContext context) |
Spans |
getSpans(LeafReaderContext context,
SpanWeight.Postings requiredPostings) |
boolean |
isCacheable(LeafReaderContext ctx) |
SpanScorer |
scorer(LeafReaderContext context) |
matchesbulkScorer, getQuery, scorerSupplierpublic AssertingSpanWeight(IndexSearcher searcher, SpanWeight in) throws IOException
in - the SpanWeight to wrapIOException - on errorpublic void extractTermStates(Map<Term,TermStates> contexts)
extractTermStates in class SpanWeightpublic Spans getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) throws IOException
getSpans in class SpanWeightIOExceptionpublic LeafSimScorer getSimScorer(LeafReaderContext context) throws IOException
getSimScorer in class SpanWeightIOExceptionpublic void extractTerms(Set<Term> terms)
extractTerms in class Weightpublic SpanScorer scorer(LeafReaderContext context) throws IOException
scorer in class SpanWeightIOExceptionpublic boolean isCacheable(LeafReaderContext ctx)
public Explanation explain(LeafReaderContext context, int doc) throws IOException
explain in class SpanWeightIOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.