|
@@ -23,7 +23,7 @@ That will return something like this:
|
|
|
"took" : 147,
|
|
|
"timed_out": false,
|
|
|
"updated": 120,
|
|
|
- "batches": 2,
|
|
|
+ "batches": 1,
|
|
|
"version_conflicts": 0,
|
|
|
"noops": 0,
|
|
|
"retries": 0,
|
|
@@ -146,12 +146,12 @@ POST twitter/_update_by_query?routing=1
|
|
|
// CONSOLE
|
|
|
// TEST[setup:twitter]
|
|
|
|
|
|
-By default `_update_by_query` uses scroll batches of 100. You can change the
|
|
|
+By default `_update_by_query` uses scroll batches of 1000. You can change the
|
|
|
batch size with the `scroll_size` URL parameter:
|
|
|
|
|
|
[source,js]
|
|
|
--------------------------------------------------
|
|
|
-POST twitter/_update_by_query?scroll_size=1000
|
|
|
+POST twitter/_update_by_query?scroll_size=100
|
|
|
--------------------------------------------------
|
|
|
// CONSOLE
|
|
|
// TEST[setup:twitter]
|
|
@@ -296,7 +296,7 @@ The responses looks like:
|
|
|
"updated" : 3500,
|
|
|
"created" : 0,
|
|
|
"deleted" : 0,
|
|
|
- "batches" : 36,
|
|
|
+ "batches" : 4,
|
|
|
"version_conflicts" : 0,
|
|
|
"noops" : 0,
|
|
|
"retries": 0,
|