Rename update-by-query REST tests to update_by_query

This commit is contained in:
Clinton Gormley 2016-03-29 13:13:49 +02:00
parent 647437ce56
commit b87beeb05f
7 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
---
"Update a document using update-by-query":
"Update a document using update_by_query":
- do:
ingest.put_pipeline:
id: "test_ingest"
@ -25,7 +25,7 @@
indices.refresh: {}
- do:
update-by-query:
update_by_query:
index: twitter
refresh: true
pipeline: test_ingest

View File

@ -29,7 +29,7 @@
indices.refresh: {}
- do:
update-by-query:
update_by_query:
index: test
scroll_size: 1
requests_per_second: 1

View File

@ -1,5 +1,5 @@
---
"Update a document using update-by-query":
"Update a document using update_by_query":
- do:
index:
index: twitter
@ -10,7 +10,7 @@
indices.refresh: {}
- do:
update-by-query:
update_by_query:
index: twitter
refresh: true
body:
@ -46,7 +46,7 @@
indices.refresh: {}
- do:
update-by-query:
update_by_query:
refresh: true
index: twitter
body:
@ -91,7 +91,7 @@
indices.refresh: {}
- do:
update-by-query:
update_by_query:
refresh: true
index: twitter
body:
@ -114,7 +114,7 @@
- do:
catch: /Invalid fields added to ctx \[junk\]/
update-by-query:
update_by_query:
index: twitter
body:
script:
@ -133,7 +133,7 @@
- do:
catch: /Modifying \[_id\] not allowed/
update-by-query:
update_by_query:
index: twitter
body:
script:

View File

@ -11,7 +11,7 @@
- do:
catch: request_timeout
update-by-query:
update_by_query:
index: twitter
refresh: true
search_timeout: 10ms

View File

@ -192,7 +192,7 @@
"scroll_size": {
"type": "integer",
"defaut_value": 100,
"description": "Size on the scroll request powering the update-by-query"
"description": "Size on the scroll request powering the update_by_query"
},
"wait_for_completion": {
"type" : "boolean",