public class ReRankWeight extends FilterWeight
Weight used by reranking queries.Weight.DefaultBulkScorerinparentQuery| 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, scorerbulkScorer, getQuery, scorerSupplierpublic ReRankWeight(Query mainQuery, Rescorer reRankQueryRescorer, IndexSearcher searcher, Weight mainWeight) throws IOException
IOExceptionpublic Explanation explain(LeafReaderContext context, int doc) throws IOException
explain in class FilterWeightIOExceptionCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.