DisiPriorityQueue
A priority queue of DocIdSetIterators that orders by current doc ID. This specialization is needed over PriorityQueue because the pluggable comparison function makes the rebalancing quite slow.
Functions
Link copied to clipboard
Add a DisiWrapper to this queue and return the top entry.
Link copied to clipboard
Link copied to clipboard
Remove the top entry and return it.
Link copied to clipboard
Return top value in this heap, or null if the heap is empty.
Link copied to clipboard
Return the 2nd least value in this heap, or null if the heap contains less than 2 values.
Link copied to clipboard
Get the list of scorers which are on the current doc.
Link copied to clipboard
Rebalance this heap and return the top entry.
Replace the top entry with the given entry, rebalance the heap, and return the new top entry.