Module org.apache.lucene.core
Package org.apache.lucene.search
Class MultiPhraseQuery.UnionPostingsEnum.DocsQueue
java.lang.Object
org.apache.lucene.util.PriorityQueue<PostingsEnum>
org.apache.lucene.search.MultiPhraseQuery.UnionPostingsEnum.DocsQueue
- All Implemented Interfaces:
Iterable<PostingsEnum>
- Enclosing class:
MultiPhraseQuery.UnionPostingsEnum
disjunction of postings ordered by docid.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanlessThan(PostingsEnum a, PostingsEnum b) Determines the ordering of objects in this priority queue.Methods 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
-
DocsQueue
DocsQueue(int size)
-
-
Method Details
-
lessThan
Description copied from class:PriorityQueueDetermines the ordering of objects in this priority queue. Subclasses must define this one method.- Specified by:
lessThanin classPriorityQueue<PostingsEnum>- Returns:
trueiff parameterais less than parameterb.
-