public class ReRankWeight extends FilterWeight
Weight
used by reranking queries.Weight.DefaultBulkScorer
in
parentQuery
Constructor and Description |
---|
ReRankWeight(Query mainQuery,
Rescorer reRankQueryRescorer,
IndexSearcher searcher,
Weight mainWeight) |
Modifier and Type | Method and Description |
---|---|
Explanation |
explain(LeafReaderContext context,
int doc) |
extractTerms, isCacheable, matches, scorer
bulkScorer, getQuery, scorerSupplier
public ReRankWeight(Query mainQuery, Rescorer reRankQueryRescorer, IndexSearcher searcher, Weight mainWeight) throws IOException
IOException
public Explanation explain(LeafReaderContext context, int doc) throws IOException
explain
in class FilterWeight
IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.