K - The type of the keyV - The type of the valuepublic interface PageableLuceneQueryResults<K,V> extends java.util.Iterator<java.util.List<LuceneResultStruct<K,V>>>
This interface allows you to retrieve a page of query results at a time, using the
hasNext() and next() methods.
PageableLuceneQueryResults cannot
be serialized and sent to other members.LuceneQuery.findPages()| Modifier and Type | Method and Description |
|---|---|
float |
getMaxScore()
Returns the maximum score value across all pages.
|
boolean |
hasNext()
True if there is another page of results in PageableLuceneQueryResults.
|
java.util.List<LuceneResultStruct<K,V>> |
next()
Get the next page of results.
|
int |
size()
Total number of hits matching the Lucene query across all pages.
|
int size()
float getMaxScore()
java.util.List<LuceneResultStruct<K,V>> next()
next in interface java.util.Iterator<java.util.List<LuceneResultStruct<K,V>>>boolean hasNext()
hasNext in interface java.util.Iterator<java.util.List<LuceneResultStruct<K,V>>>