Closed
Description
Brought up in https://stackoverflow.com/questions/77232800/set-query-size-when-performing-scroll-request-via-spring-data-elasticsearch-repo;
When defining a repository method that returns a Stream<Entity>
, the query under the hood currently does calls to Elasticsearch in 500 size batches and delivers them in a stream. The use should be able to add a Pageable
to the repository method in order to influence the size of these queries.