Class TopOrdAndInt32Queue
Keeps highest results, first by largest System.Int32 value, then tie break by smallest ord.
NOTE: This was TopOrdAndIntQueue in Lucene
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.Facet
Assembly: Lucene.Net.Facet.dll
Syntax
public class TopOrdAndInt32Queue : PriorityQueue<TopOrdAndInt32Queue.OrdAndValue>
Constructors
| Improve this Doc View SourceTopOrdAndInt32Queue(Int32)
Sole constructor.
Declaration
public TopOrdAndInt32Queue(int topN)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | topN |
Methods
| Improve this Doc View SourceLessThan(TopOrdAndInt32Queue.OrdAndValue, TopOrdAndInt32Queue.OrdAndValue)
Declaration
protected override bool LessThan(TopOrdAndInt32Queue.OrdAndValue a, TopOrdAndInt32Queue.OrdAndValue b)
Parameters
Type | Name | Description |
---|---|---|
TopOrdAndInt32Queue.OrdAndValue | a | |
TopOrdAndInt32Queue.OrdAndValue | b |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
Lucene.Net.Util.PriorityQueue<Lucene.Net.Facet.TopOrdAndInt32Queue.OrdAndValue>.LessThan(Lucene.Net.Facet.TopOrdAndInt32Queue.OrdAndValue, Lucene.Net.Facet.TopOrdAndInt32Queue.OrdAndValue)