public class SpanPayloadCheckQuery.SpanPayloadCheckWeight extends SpanWeight
SpanWeight.Postings
Weight.DefaultBulkScorer
field, similarity, simWeight
parentQuery
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) |
Scorer |
scorer(LeafReaderContext context) |
explain, getSimScorer, getValueForNormalization, normalize
bulkScorer, getQuery
public SpanPayloadCheckQuery.SpanPayloadCheckWeight(IndexSearcher searcher, Map<Term,TermContext> termContexts, SpanWeight matchWeight) throws IOException
IOException
public void extractTerms(Set<Term> terms)
extractTerms
in class Weight
public void extractTermContexts(Map<Term,TermContext> contexts)
extractTermContexts
in class SpanWeight
public Spans getSpans(LeafReaderContext context, SpanWeight.Postings requiredPostings) throws IOException
getSpans
in class SpanWeight
IOException
public Scorer scorer(LeafReaderContext context) throws IOException
scorer
in class SpanWeight
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.