Package org.apache.lucene.facet
Class TopOrdAndFloatQueue
- java.lang.Object
-
- org.apache.lucene.util.PriorityQueue<TopOrdAndFloatQueue.OrdAndValue>
-
- org.apache.lucene.facet.TopOrdAndFloatQueue
-
public class TopOrdAndFloatQueue extends PriorityQueue<TopOrdAndFloatQueue.OrdAndValue>
Keeps highest results, first by largest float value, then tie break by smallest ord.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TopOrdAndFloatQueue.OrdAndValue
Holds a single entry.
-
Constructor Summary
Constructors Constructor Description TopOrdAndFloatQueue(int topN)
Sole constructor.
-
Method Summary
-
Methods inherited from class org.apache.lucene.util.PriorityQueue
add, clear, insertWithOverflow, pop, size, top, updateTop
-
-