public static final class Lookup.LookupPriorityQueue extends org.apache.lucene.util.PriorityQueue<Lookup.LookupResult>
PriorityQueue collecting a fixed size of high priority Lookup.LookupResult| Constructor and Description |
|---|
Lookup.LookupPriorityQueue(int size) |
| Modifier and Type | Method and Description |
|---|---|
Lookup.LookupResult[] |
getResults()
Returns the top N results in descending order.
|
protected boolean |
lessThan(Lookup.LookupResult a,
Lookup.LookupResult b) |
protected boolean lessThan(Lookup.LookupResult a, Lookup.LookupResult b)
lessThan in class org.apache.lucene.util.PriorityQueue<Lookup.LookupResult>public Lookup.LookupResult[] getResults()
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.