java.lang.Object
org.apache.lucene.util.PriorityQueue<MoreLikeThis.ScoreTerm>
org.apache.lucene.queries.mlt.MoreLikeThis.FreqQ
- All Implemented Interfaces:
Iterable<MoreLikeThis.ScoreTerm>
- Enclosing class:
MoreLikeThis
PriorityQueue that orders words by score.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanDetermines 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
-
FreqQ
FreqQ(int maxSize)
-
-
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<MoreLikeThis.ScoreTerm>- Returns:
trueiff parameterais less than parameterb.
-