public class SpanPayloadCheckQuery.SpanPayloadCheckWeight extends SpanWeight
SpanWeight.Postings
Weight.DefaultBulkScorer
field, similarity, simScorer
parentQuery
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, matches
bulkScorer, getQuery, scorerSupplier
public SpanPayloadCheckWeight(IndexSearcher searcher, Map<Term,TermStates> termStates, SpanWeight matchWeight, float boost) throws IOException
IOException
public void extractTerms(Set<Term> terms)
extractTerms
in class Weight
public void extractTermStates(Map<Term,TermStates> contexts)
extractTermStates
in class SpanWeight
public Spans getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) throws IOException
getSpans
in class SpanWeight
IOException
public SpanScorer scorer(LeafReaderContext context) throws IOException
scorer
in class SpanWeight
IOException
public boolean isCacheable(LeafReaderContext ctx)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.