Class FieldComparator.RelevanceComparator
Sorts by descending relevance. NOTE: if you are sorting only by descending relevance and then secondarily by ascending docID, peformance is faster using TopScoreDocCollector directly (which Search(Query, Int32) uses when no Sort is specified).
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public sealed class RelevanceComparator : FieldComparator
Properties
Name | Description |
---|---|
Item[Int32] |
Methods
Name | Description |
---|---|
Compare(Int32, Int32) | |
CompareBottom(Int32) | |
Copy(Int32, Int32) | |
SetBottom(Int32) | |
SetNextReader(IndexReader, Int32) | |
SetScorer(Scorer) |