Class Rescorer
Re-scores the topN results (Top
See
Rescore(Index
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public abstract class Rescorer : object
Methods
| Improve this Doc View SourceExplain(IndexSearcher, Explanation, Int32)
Explains how the score for the specified document was computed.
Declaration
public abstract Explanation Explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID)
Parameters
Type | Name | Description |
---|---|---|
Index |
searcher | |
Explanation | firstPassExplanation | |
System. |
docID |
Returns
Type | Description |
---|---|
Explanation |
Rescore(IndexSearcher, TopDocs, Int32)
Rescore an initial first-pass Top
Declaration
public abstract TopDocs Rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN)
Parameters
Type | Name | Description |
---|---|---|
Index |
searcher | Index |
Top |
firstPassTopDocs | Hits from the first pass search. It's very important that these hits were produced by the provided searcher; otherwise the doc IDs will not match! |
System. |
topN | How many re-scored hits to return |
Returns
Type | Description |
---|---|
Top |