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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopOrdAndFloatQueue
public TopOrdAndFloatQueue(int topN)
- Sole constructor.
lessThan
protected boolean lessThan(TopOrdAndFloatQueue.OrdAndValue a,
TopOrdAndFloatQueue.OrdAndValue b)
- Specified by:
lessThan
in class PriorityQueue<TopOrdAndFloatQueue.OrdAndValue>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.