Fix the type for "slices" in the Reindex and Update By Query REST API specification (#51908) (#51911)
This patch supplements #51792 and #51535 where the type of the "slices" parameter has been fixed. (cherry picked from commit 2ed9e95100474f3dfbeb7efb0529e237b8f61e53)
This commit is contained in:
parent
60c93b6df5
commit
19ae3e6a48
|
@ -45,9 +45,9 @@
|
||||||
"default":"5m"
|
"default":"5m"
|
||||||
},
|
},
|
||||||
"slices":{
|
"slices":{
|
||||||
"type":"number",
|
"type":"number|string",
|
||||||
"default":1,
|
"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":{
|
"max_docs":{
|
||||||
"type":"number",
|
"type":"number",
|
||||||
|
|
|
@ -204,9 +204,9 @@
|
||||||
"description":"The throttle to set on this request in sub-requests per second. -1 means no throttle."
|
"description":"The throttle to set on this request in sub-requests per second. -1 means no throttle."
|
||||||
},
|
},
|
||||||
"slices":{
|
"slices":{
|
||||||
"type":"number",
|
"type":"number|string",
|
||||||
"default":1,
|
"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":{
|
"body":{
|
||||||
|
|
Loading…
Reference in New Issue