QueryRescorer
- Namespace
- Rowles.LeanCorpus.Search.Scoring
- Assembly
- Rowles.LeanCorpus.dll
Reranks a first-pass result set with scores from a second query.
public class QueryRescorer
- Inheritance
-
QueryRescorer
QueryRescorer(Query, float)
Initialises a query rescorer.
QueryRescorer(Query, float, float)
Initialises a query rescorer with separate first-pass and second-pass weights.
FirstPassWeight
The weight applied to the first-pass score.
Query
The second-pass query used by this rescorer.
SecondPassWeight
The weight applied to the second-pass score.
Combine(float, bool, float)
Combines the first-pass and optional second-pass scores.
Rescore(IndexSearcher, TopDocs, int)
Rescores and returns up to topN first-pass documents.