Rescorer
Re-scores the topN results (TopDocs) from an original query. See QueryRescorer for an actual implementation. Typically, you run a low-cost first-pass query across the entire index, collecting the top few hundred hits perhaps, and then use this class to mix in a more costly second pass scoring.
See QueryRescorer.rescore for a simple static method to call to rescore using a 2nd pass Query.
Inheritors
Functions
Link copied to clipboard
abstract fun explain(searcher: IndexSearcher, firstPassExplanation: Explanation, docID: Int): Explanation
Explains how the score for the specified document was computed.