Interface ExtendedSearchScroll<H,R extends SearchScrollResult<H>>
- Type Parameters:
H
- The type of query hits.R
- The result type (extendingSearchScrollResult
).
- All Superinterfaces:
AutoCloseable
,SearchScroll<H>
- All Known Subinterfaces:
ElasticsearchSearchScroll<H>
,LuceneSearchScroll<H>
A base interface for subtypes of
SearchScroll
allowing to
easily override the result type for all relevant methods.-
Method Summary
Methods inherited from interface org.hibernate.search.engine.search.query.SearchScroll
close
-
Method Details
-
next
R next()Description copied from interface:SearchScroll
Returns the next chunk, with at mostchunkSize
hits.May return a result with less than
chunkSize
elements if only that many hits are left.- Specified by:
next
in interfaceSearchScroll<H>
- Returns:
- The next
SearchScrollResult
. - See Also:
-