From f8b7ec27a4c06a9334b52cf596b241d4f86e7edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Wed, 22 Mar 2017 12:53:28 +0100 Subject: [PATCH] [API] change wait_for_completion defaults according to docs (#23672) --- .../src/main/resources/rest-api-spec/api/delete_by_query.json | 2 +- rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json | 2 +- .../src/main/resources/rest-api-spec/api/update_by_query.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json index b76d560bcb450..8ed3202e9af81 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json @@ -146,7 +146,7 @@ }, "wait_for_completion": { "type" : "boolean", - "default": false, + "default": true, "description" : "Should the request should block until the delete-by-query is complete." }, "requests_per_second": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json index 4756361ca1651..fc701c29d6021 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json @@ -22,7 +22,7 @@ }, "wait_for_completion": { "type" : "boolean", - "default": false, + "default": true, "description" : "Should the request should block until the reindex is complete." }, "requests_per_second": { diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json index 8130be8a11fd0..072e950686aa2 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json @@ -154,7 +154,7 @@ }, "wait_for_completion": { "type" : "boolean", - "default": false, + "default": true, "description" : "Should the request should block until the update by query operation is complete." }, "requests_per_second": {