Skip to content

Commit 9a60cdb

Browse files
committed
Merge remote-tracking branch 'origin/main' into indices-options-for-index-recovery-api
2 parents c7b78fd + b6972ac commit 9a60cdb

File tree

4 files changed

+17
-19
lines changed

4 files changed

+17
-19
lines changed

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
{
22
"endpointErrors": {
3-
"indices.recovery": {
4-
"request": [
5-
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
6-
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
7-
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
8-
],
9-
"response": []
10-
},
113
"msearch": {
124
"request": [
135
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
@@ -18,12 +10,6 @@
1810
"Request: query parameter 'routing' does not exist in the json spec"
1911
],
2012
"response": []
21-
},
22-
"searchable_snapshots.clear_cache": {
23-
"request": [
24-
"Request: missing json spec query parameter 'index'"
25-
],
26-
"response": []
2713
}
2814
},
2915
"generalErrors": []

specification/_json_spec/indices.recovery.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,22 @@
3737
"type": "boolean",
3838
"description": "Display only those recoveries that are currently on-going",
3939
"default": false
40+
},
41+
"ignore_unavailable": {
42+
"type": "boolean",
43+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)",
44+
"default": false
45+
},
46+
"allow_no_indices": {
47+
"type": "boolean",
48+
"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)",
49+
"default": true
50+
},
51+
"expand_wildcards": {
52+
"type": "enum",
53+
"options": ["open", "closed", "hidden", "none", "all"],
54+
"default": "open",
55+
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
4056
}
4157
}
4258
}

specification/_json_spec/searchable_snapshots.clear_cache.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
"options": ["open", "closed", "none", "all"],
4242
"default": "open",
4343
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
44-
},
45-
"index": {
46-
"type": "list",
47-
"description": "A comma-separated list of index name to limit the operation"
4844
}
4945
}
5046
}

0 commit comments

Comments
 (0)