Class SpanDisiPriorityQueue

  • All Implemented Interfaces:
    java.lang.Iterable<SpanDisiWrapper>

    final class SpanDisiPriorityQueue
    extends java.lang.Object
    implements java.lang.Iterable<SpanDisiWrapper>
    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.