Skip to content

Commit 9d0dd7f

Browse files
authored
Boost default scroll size to 1000 (#1429)
1 parent 4a4e94b commit 9d0dd7f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/reference/asciidoc/core/configuration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,8 +510,8 @@ available {es} node (based on the declaration of `es.nodes`, followed by the dis
510510
`es.scroll.keepalive` (default 10m)::
511511
The maximum duration of result scrolls between query requests.
512512

513-
`es.scroll.size` (default 50)::
514-
Number of results/items returned by each individual per request.
513+
`es.scroll.size` (default 1000)::
514+
Number of results/items/documents returned per scroll request on each executor/worker/task.
515515

516516
added[2.2]
517517
`es.scroll.limit` (default -1)::

mr/src/main/java/org/elasticsearch/hadoop/cfg/ConfigurationOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public interface ConfigurationOptions {
114114

115115
/** Scroll size */
116116
String ES_SCROLL_SIZE = "es.scroll.size";
117-
String ES_SCROLL_SIZE_DEFAULT = "50";
117+
String ES_SCROLL_SIZE_DEFAULT = "1000";
118118

119119
/** Scroll limit */
120120
String ES_SCROLL_LIMIT = "es.scroll.limit";

0 commit comments

Comments
 (0)