Class 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 Rescore(IndexSearcher, TopDocs, Query, Double, Int32) for a simple static method to call to rescore using a 2nd pass Query.
@lucene.experimental
Inheritance
System.Object
Rescorer
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class Rescorer : object
Methods
Name | Description |
---|---|
Explain(IndexSearcher, Explanation, Int32) | Explains how the score for the specified document was computed. |
Rescore(IndexSearcher, TopDocs, Int32) | Rescore an initial first-pass TopDocs. |