QueryRescorer

abstract class QueryRescorer(query: Query) : Rescorer

A Rescorer that uses a provided Query to assign scores to the first-pass hits.

Constructors

Link copied to clipboard
constructor(query: Query)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun explain(searcher: IndexSearcher, firstPassExplanation: Explanation, docID: Int): Explanation

Explains how the score for the specified document was computed.

Link copied to clipboard
open override fun rescore(searcher: IndexSearcher, firstPassTopDocs: TopDocs, topN: Int): TopDocs

Rescore an initial first-pass TopDocs.