mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 13:26:02 +00:00
Rest: Added missing parameters to indices.upgrade
This commit is contained in:
parent
0d3d541d62
commit
1e47f02891
@ -12,10 +12,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"params": {
|
"params": {
|
||||||
"ignore_unavailable": {
|
|
||||||
"type" : "boolean",
|
|
||||||
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
|
|
||||||
},
|
|
||||||
"allow_no_indices": {
|
"allow_no_indices": {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
"description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
|
"description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
|
||||||
@ -26,6 +22,18 @@
|
|||||||
"default" : "open",
|
"default" : "open",
|
||||||
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
|
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
|
||||||
},
|
},
|
||||||
|
"flush": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Specify whether the index should be flushed after performing the operation (default: true)"
|
||||||
|
},
|
||||||
|
"ignore_unavailable": {
|
||||||
|
"type" : "boolean",
|
||||||
|
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
|
||||||
|
},
|
||||||
|
"max_num_segments": {
|
||||||
|
"type" : "number",
|
||||||
|
"description" : "The number of segments the index should be merged into (default: dynamic)"
|
||||||
|
},
|
||||||
"wait_for_completion": {
|
"wait_for_completion": {
|
||||||
"type" : "boolean",
|
"type" : "boolean",
|
||||||
"description" : "Specify whether the request should block until the all segments are upgraded (default: true)"
|
"description" : "Specify whether the request should block until the all segments are upgraded (default: true)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user