K
- The type of the keyV
- The type of the valuepublic interface PageableLuceneQueryResults<K,V> extends Iterator<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
can 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.
|
List<LuceneResultStruct<K,V>> |
next()
Get the next page of results.
|
int |
size()
Total number of hits matching the Lucene query across all pages.
|
forEachRemaining, remove
int size()
float getMaxScore()
List<LuceneResultStruct<K,V>> next()