Skip to content

Commit

Permalink
Fix the type for "slices" in the Reindex and Update By Query REST API…
Browse files Browse the repository at this point in the history
… specification

This patch supplements #51792 and #51535 where the type of the "slices" parameter has been fixed.
  • Loading branch information
karmi committed Feb 5, 2020
1 parent 82479f1 commit 8884582
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
"default":"5m"
},
"slices":{
"type":"number",
"type":"number|string",
"default":1,
"description":"The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks."
"description":"The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`."
},
"max_docs":{
"type":"number",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@
"description":"The throttle to set on this request in sub-requests per second. -1 means no throttle."
},
"slices":{
"type":"number",
"type":"number|string",
"default":1,
"description":"The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks."
"description":"The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`."
}
},
"body":{
Expand Down

0 comments on commit 8884582

Please sign in to comment.