SortRescorer

class SortRescorer(sort: Sort) : Rescorer

A Rescorer that re-sorts according to a provided Sort.

Constructors

Link copied to clipboard
constructor(sort: Sort)

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.