mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-05-31 09:12:11 +00:00
DATAES-802 - Polishing.
This commit is contained in:
parent
21ade25fbb
commit
efbe7237f2
@ -80,7 +80,7 @@ while (scroll.hasSearchHits()) {
|
||||
template.searchScrollClear(scrollId);
|
||||
----
|
||||
|
||||
Additionally, the scroll API can be used by defining the return type as `Stream` in the Elasticsearch Repository.
|
||||
To use the Scroll API with repository methods, the return type must defined as `Stream` in the Elasticsearch Repository. The implementation of the method will then use the scroll methods from the ElasticsearchTemplate.
|
||||
|
||||
[source,java]
|
||||
----
|
||||
|
Loading…
x
Reference in New Issue
Block a user