Module org.apache.lucene.sandbox
Class FuzzyLikeThisQuery.ScoreTermQueue
java.lang.Object
org.apache.lucene.util.PriorityQueue<FuzzyLikeThisQuery.ScoreTerm>
org.apache.lucene.sandbox.queries.FuzzyLikeThisQuery.ScoreTermQueue
- All Implemented Interfaces:
Iterable<FuzzyLikeThisQuery.ScoreTerm>
- Enclosing class:
FuzzyLikeThisQuery
private static class FuzzyLikeThisQuery.ScoreTermQueue
extends PriorityQueue<FuzzyLikeThisQuery.ScoreTerm>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanlessThan(FuzzyLikeThisQuery.ScoreTerm termA, FuzzyLikeThisQuery.ScoreTerm termB) 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
-
ScoreTermQueue
public ScoreTermQueue(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<FuzzyLikeThisQuery.ScoreTerm>- Returns:
trueiff parameterais less than parameterb.
-