mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-30 03:48:54 +00:00
Changed all rest-spec definitions of expand_wildcards to be an enum
with values: open, closed, none, all Relates to #9295
This commit is contained in:
parent
35e507ad54
commit
6aff2b9f65
rest-api-spec/api
cluster.state.jsoncount.jsoncount_percolate.jsondelete_by_query.jsonindices.clear_cache.jsonindices.close.jsonindices.exists.jsonindices.exists_alias.jsonindices.exists_type.jsonindices.flush.jsonindices.get.jsonindices.get_alias.jsonindices.get_field_mapping.jsonindices.get_mapping.jsonindices.get_settings.jsonindices.get_upgrade.jsonindices.get_warmer.jsonindices.open.jsonindices.optimize.jsonindices.put_mapping.jsonindices.put_settings.jsonindices.put_warmer.jsonindices.refresh.jsonindices.segments.jsonindices.upgrade.jsonindices.validate_query.jsonmpercolate.jsonpercolate.jsonsearch.jsonsearch_exists.jsonsearch_shards.jsonsearch_template.jsonsuggest.json
@ -42,8 +42,10 @@
|
|||||||
"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)"
|
||||||
},
|
},
|
||||||
"expand_wildcards":{
|
"expand_wildcards":{
|
||||||
"type":"list",
|
"type" : "enum",
|
||||||
"description":"Whether wildcard expressions should get expanded to open or closed indices (default: open)"
|
"options" : ["open","closed","none","all"],
|
||||||
|
"default" : "open",
|
||||||
|
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type": "enum",
|
"type": "enum",
|
||||||
"options": ["open", "closed"],
|
"options": ["open", "closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -46,7 +46,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"default" : ["open", "closed"],
|
"default" : ["open", "closed"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,9 @@
|
|||||||
"description":"Ignore if a wildcard expression resolves to no concrete indices (default: false)"
|
"description":"Ignore if a wildcard expression resolves to no concrete indices (default: false)"
|
||||||
},
|
},
|
||||||
"expand_wildcards":{
|
"expand_wildcards":{
|
||||||
"type":"list",
|
"type" : "enum",
|
||||||
|
"options" : ["open","closed","none","all"],
|
||||||
|
"default" : "open",
|
||||||
"description":"Whether wildcard expressions should get expanded to open or closed indices (default: open)"
|
"description":"Whether wildcard expressions should get expanded to open or closed indices (default: open)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -25,8 +25,8 @@
|
|||||||
"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)"
|
||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "list",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"default" : ["open","closed"],
|
"default" : ["open","closed"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"default" : "closed",
|
"default" : "closed",
|
||||||
"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."
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type": "enum",
|
"type": "enum",
|
||||||
"options": ["open", "closed"],
|
"options": ["open", "closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"default" : "open",
|
"default" : "open",
|
||||||
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both, in the search request to warm."
|
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both, in the search request to warm."
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type": "enum",
|
"type": "enum",
|
||||||
"options": ["open", "closed"],
|
"options": ["open", "closed","none","all"],
|
||||||
"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."
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"expand_wildcards": {
|
"expand_wildcards": {
|
||||||
"type" : "enum",
|
"type" : "enum",
|
||||||
"options" : ["open","closed"],
|
"options" : ["open","closed","none","all"],
|
||||||
"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."
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user