Skip to content

Commit bde37a3

Browse files
committed
[API] change wait_for_completion defaults according to docs
1 parent e83256d commit bde37a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/delete_by_query.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
},
147147
"wait_for_completion": {
148148
"type" : "boolean",
149-
"default": false,
149+
"default": true,
150150
"description" : "Should the request should block until the delete-by-query is complete."
151151
},
152152
"requests_per_second": {

rest-api-spec/src/main/resources/rest-api-spec/api/reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"wait_for_completion": {
2424
"type" : "boolean",
25-
"default": false,
25+
"default": true,
2626
"description" : "Should the request should block until the reindex is complete."
2727
},
2828
"requests_per_second": {

rest-api-spec/src/main/resources/rest-api-spec/api/update_by_query.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
},
155155
"wait_for_completion": {
156156
"type" : "boolean",
157-
"default": false,
157+
"default": true,
158158
"description" : "Should the request should block until the update by query operation is complete."
159159
},
160160
"requests_per_second": {

0 commit comments

Comments
 (0)