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: - do:
ingest.put_pipeline: ingest.put_pipeline:
id: "test_ingest" id: "test_ingest"
@ -25,7 +25,7 @@
indices.refresh: {} indices.refresh: {}
- do: - do:
update-by-query: update_by_query:
index: twitter index: twitter
refresh: true refresh: true
pipeline: test_ingest pipeline: test_ingest

View File

@ -29,7 +29,7 @@
indices.refresh: {} indices.refresh: {}
- do: - do:
update-by-query: update_by_query:
index: test index: test
scroll_size: 1 scroll_size: 1
requests_per_second: 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: - do:
index: index:
index: twitter index: twitter
@ -10,7 +10,7 @@
indices.refresh: {} indices.refresh: {}
- do: - do:
update-by-query: update_by_query:
index: twitter index: twitter
refresh: true refresh: true
body: body:
@ -46,7 +46,7 @@
indices.refresh: {} indices.refresh: {}
- do: - do:
update-by-query: update_by_query:
refresh: true refresh: true
index: twitter index: twitter
body: body:
@ -91,7 +91,7 @@
indices.refresh: {} indices.refresh: {}
- do: - do:
update-by-query: update_by_query:
refresh: true refresh: true
index: twitter index: twitter
body: body:
@ -114,7 +114,7 @@
- do: - do:
catch: /Invalid fields added to ctx \[junk\]/ catch: /Invalid fields added to ctx \[junk\]/
update-by-query: update_by_query:
index: twitter index: twitter
body: body:
script: script:
@ -133,7 +133,7 @@
- do: - do:
catch: /Modifying \[_id\] not allowed/ catch: /Modifying \[_id\] not allowed/
update-by-query: update_by_query:
index: twitter index: twitter
body: body:
script: script:

View File

@ -11,7 +11,7 @@
- do: - do:
catch: request catch: request
update-by-query: update_by_query:
index: twitter index: twitter
refresh: true refresh: true
body: body:

View File

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

View File

@ -11,7 +11,7 @@
- do: - do:
catch: request catch: request
update-by-query: update_by_query:
index: source index: source
body: body:
query: query:

View File

@ -192,7 +192,7 @@
"scroll_size": { "scroll_size": {
"type": "integer", "type": "integer",
"defaut_value": 100, "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": { "wait_for_completion": {
"type" : "boolean", "type" : "boolean",