Class TopOrdAndSingleQueue
Keeps highest results, first by largest
NOTE: This was TopOrdAndFloatQueue in Lucene
Inheritance
System.Object
TopOrdAndSingleQueue
Namespace: Lucene.Net.Facet
Assembly: Lucene.Net.Facet.dll
Syntax
public class TopOrdAndSingleQueue : PriorityQueue<TopOrdAndSingleQueue.OrdAndValue>
Constructors
| Improve this Doc View SourceTopOrdAndSingleQueue(Int32)
Sole constructor.
Declaration
public TopOrdAndSingleQueue(int topN)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | topN |
Methods
| Improve this Doc View SourceLessThan(TopOrdAndSingleQueue.OrdAndValue, TopOrdAndSingleQueue.OrdAndValue)
Declaration
protected override bool LessThan(TopOrdAndSingleQueue.OrdAndValue a, TopOrdAndSingleQueue.OrdAndValue b)
Parameters
| Type | Name | Description |
|---|---|---|
| TopOrdAndSingleQueue.OrdAndValue | a | |
| TopOrdAndSingleQueue.OrdAndValue | b |
Returns
| Type | Description |
|---|---|
| System.Boolean |