@@ -10,7 +10,7 @@
indices.refresh: {}
- do:
- update-by-query:
+ update_by_query:
index: test
- is_false: timed_out
- match: {updated: 1}
@@ -35,7 +35,7 @@
wait_for_completion: false
- match: {task: '/.+:\d+/'}
@@ -79,7 +79,7 @@
catch: conflict
- match: {updated: 0}
- match: {version_conflicts: 1}
@@ -119,7 +119,7 @@
body: { "text": "test2" }
conflicts: proceed
@@ -148,7 +148,7 @@
index: twitter
body:
query:
@@ -178,7 +178,7 @@
size: 1
@@ -218,7 +218,7 @@
scroll_size: 1
- match: {batches: 3}
@@ -8,7 +8,7 @@
body: { "text": "test" }
catch: /conflicts may only be .* but was \[cat\]/
conflicts: cat
@@ -22,7 +22,7 @@
catch: /Failed to parse int parameter \[scroll_size\] with value \[cat\]/
scroll_size: cat
@@ -36,6 +36,6 @@
catch: /size should be greater than 0 if the request is limited to some number of documents or -1 if it isn't but it was \[-4\]/
size: -4
@@ -43,7 +43,7 @@
- match: { hits.total: 0 }
@@ -1,5 +1,5 @@
---
-"update-by-query increments the version number":
+"update_by_query increments the version number":
index:
- match: {version_conflicts: 0}
@@ -21,14 +21,14 @@
catch: unavailable
timeout: 1s
- match:
failures.0.cause.reason: /Not.enough.active.copies.to.meet.write.consistency.of.\[QUORUM\].\(have.1,.needed.4\)..Timeout\:.\[1s\],.request:.\[BulkShardRequest.to.\[test\].containing.\[1\].requests\]/
consistency: one
- match: {failures: []}
{
- "update-by-query": {
+ "update_by_query": {
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/plugins-reindex.html",
"methods": ["POST"],
"url": {