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:
Clinton Gormley 2015-01-23 16:03:17 +01:00
parent 35e507ad54
commit 6aff2b9f65
33 changed files with 39 additions and 35 deletions

View File

@ -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)"
},
"expand_wildcards":{
"type":"list",
"description":"Whether wildcard expressions should get expanded to open or closed indices (default: open)"
"type" : "enum",
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}
}
},

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -41,7 +41,7 @@
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed"],
"options": ["open", "closed","none","all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -46,7 +46,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -54,7 +54,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -31,7 +31,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}

View File

@ -23,7 +23,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : ["open", "closed"],
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -28,7 +28,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -34,7 +34,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}

View File

@ -30,7 +30,9 @@
"description":"Ignore if a wildcard expression resolves to no concrete indices (default: false)"
},
"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)"
}
}

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -35,7 +35,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -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)"
},
"expand_wildcards": {
"type" : "list",
"options" : ["open","closed"],
"type" : "enum",
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : ["open","closed"],
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -22,7 +22,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -30,7 +30,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -31,7 +31,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "closed",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -39,7 +39,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed"],
"options": ["open", "closed","none","all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -35,7 +35,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both, in the search request to warm."
}

View File

@ -22,7 +22,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -22,7 +22,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -18,7 +18,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -30,7 +30,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed"],
"options": ["open", "closed","none","all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}

View File

@ -41,7 +41,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -56,7 +56,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -40,7 +40,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}

View File

@ -26,7 +26,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},

View File

@ -22,7 +22,7 @@
},
"expand_wildcards": {
"type" : "enum",
"options" : ["open","closed"],
"options" : ["open","closed","none","all"],
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},