public class PayloadNearQuery.PayloadNearSpanWeight extends SpanNearQuery.SpanNearWeight
SpanWeight.PostingsWeight.DefaultBulkScorerfield, similarity, simWeightparentQuery| Constructor and Description |
|---|
PayloadNearQuery.PayloadNearSpanWeight(List<SpanWeight> subWeights,
IndexSearcher searcher,
Map<Term,TermContext> terms) |
| Modifier and Type | Method and Description |
|---|---|
Explanation |
explain(LeafReaderContext context,
int doc) |
Scorer |
scorer(LeafReaderContext context) |
extractTermContexts, extractTerms, getSpansgetSimScorer, getValueForNormalization, normalizebulkScorer, getQuerypublic PayloadNearQuery.PayloadNearSpanWeight(List<SpanWeight> subWeights, IndexSearcher searcher, Map<Term,TermContext> terms) throws IOException
IOExceptionpublic Scorer scorer(LeafReaderContext context) throws IOException
scorer in class SpanWeightIOExceptionpublic Explanation explain(LeafReaderContext context, int doc) throws IOException
explain in class SpanWeightIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.