Class SortRescorer
A Rescorer that re-sorts according to a provided Sort.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class SortRescorer : Rescorer
Constructors
| Improve this Doc View SourceSortRescorer(Sort)
Sole constructor.
Declaration
public SortRescorer(Sort sort)
Parameters
Type | Name | Description |
---|---|---|
Sort | sort |
Methods
| Improve this Doc View SourceExplain(IndexSearcher, Explanation, Int32)
Declaration
public override Explanation Explain(IndexSearcher searcher, Explanation firstPassExplanation, int docID)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | |
Explanation | firstPassExplanation | |
System.Int32 | docID |
Returns
Type | Description |
---|---|
Explanation |
Overrides
| Improve this Doc View SourceRescore(IndexSearcher, TopDocs, Int32)
Declaration
public override TopDocs Rescore(IndexSearcher searcher, TopDocs firstPassTopDocs, int topN)
Parameters
Type | Name | Description |
---|---|---|
IndexSearcher | searcher | |
TopDocs | firstPassTopDocs | |
System.Int32 | topN |
Returns
Type | Description |
---|---|
TopDocs |