java.lang.Object
org.apache.lucene.util.PriorityQueue<TopOrdAndNumberQueue.OrdAndValue>
org.apache.lucene.facet.TopOrdAndNumberQueue
org.apache.lucene.facet.TopOrdAndFloatNumberQueue
- All Implemented Interfaces:
Iterable<TopOrdAndNumberQueue.OrdAndValue>
Deprecated.
Keeps highest results, first by largest float value, then tie-break by smallest ord.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.Holds an ordinal and a float value.Nested classes/interfaces inherited from class org.apache.lucene.facet.TopOrdAndNumberQueue
TopOrdAndNumberQueue.OrdAndValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Create a newTopOrdAndNumberQueue.OrdAndValueof the appropriate type.Methods inherited from class org.apache.lucene.facet.TopOrdAndNumberQueue
lessThanMethods inherited from class org.apache.lucene.util.PriorityQueue
add, addAll, clear, getHeapArray, insertWithOverflow, iterator, pop, remove, size, top, updateTop, updateTopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TopOrdAndFloatNumberQueue
public TopOrdAndFloatNumberQueue(int topN) Deprecated.Sole constructor.
-
-
Method Details
-
newOrdAndValue
Deprecated.Description copied from class:TopOrdAndNumberQueueCreate a newTopOrdAndNumberQueue.OrdAndValueof the appropriate type.- Specified by:
newOrdAndValuein classTopOrdAndNumberQueue
-
TopOrdAndFloatQueuein 10.x