Package org.apache.lucene.util.fst
Class Util.TopResults<T>
java.lang.Object
org.apache.lucene.util.fst.Util.TopResults<T>
- All Implemented Interfaces:
Iterable<Util.Result<T>>
- Enclosing class:
- Util
Holds the results for a top N search using
Util.TopNSearcher
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
true
iff this is a complete result ie.final List<Util.Result<T>>
The top results -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
isComplete
public final boolean isCompletetrue
iff this is a complete result ie. if the specified queue size was large enough to find the complete list of results. This might befalse
if theUtil.TopNSearcher
rejected too many results. -
topN
The top results
-
-
Method Details