public static final class Util.TopResults<T> extends java.lang.Object implements java.lang.Iterable<Util.Result<T>>
Util.TopNSearcher| Modifier and Type | Field and Description |
|---|---|
boolean |
isComplete
true iff this is a complete result ie. |
java.util.List<Util.Result<T>> |
topN
The top results
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<Util.Result<T>> |
iterator() |
public final boolean isComplete
true iff this is a complete result ie. if
the specified queue size was large enough to find the complete list of results. This might
be false if the Util.TopNSearcher rejected too many results.public final java.util.List<Util.Result<T>> topN
public java.util.Iterator<Util.Result<T>> iterator()
iterator in interface java.lang.Iterable<Util.Result<T>>Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.