public class PayloadNearQuery.PayloadNearSpanWeight extends SpanNearQuery.SpanNearWeight
SpanWeight.Postings
Weight.DefaultBulkScorer
field, similarity, simWeight
parentQuery
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, getSpans
getSimScorer, getValueForNormalization, normalize
bulkScorer, getQuery
public PayloadNearQuery.PayloadNearSpanWeight(List<SpanWeight> subWeights, IndexSearcher searcher, Map<Term,TermContext> terms) throws IOException
IOException
public Scorer scorer(LeafReaderContext context) throws IOException
scorer
in class SpanWeight
IOException
public Explanation explain(LeafReaderContext context, int doc) throws IOException
explain
in class SpanWeight
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.