Method Rescore
Rescore(IndexSearcher, TopDocs, Int32)
Rescore an initial first-pass TopDocs.
Declaration
public abstract TopDocs Rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | IndexSearcher used to produce the first pass topDocs |
TopDocs | 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.Int32 | topN | How many re-scored hits to return |
Returns
Type | Description |
---|---|
TopDocs |