From efbe7237f2a3f1c73799c6f6d5acc425bf46f063 Mon Sep 17 00:00:00 2001 From: Peter-Josef Meisch Date: Sun, 26 Apr 2020 17:45:40 +0200 Subject: [PATCH] DATAES-802 - Polishing. --- src/main/asciidoc/reference/elasticsearch-misc.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoc/reference/elasticsearch-misc.adoc b/src/main/asciidoc/reference/elasticsearch-misc.adoc index b4bcbbc1..9df0d064 100644 --- a/src/main/asciidoc/reference/elasticsearch-misc.adoc +++ b/src/main/asciidoc/reference/elasticsearch-misc.adoc @@ -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] ----