DATAES-802 - Polishing.

This commit is contained in:
Peter-Josef Meisch 2020-04-26 17:45:40 +02:00
parent 21ade25fbb
commit efbe7237f2

View File

@ -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]
----