Skip to content

Commit 956fee2

Browse files
committed
Restore indices.resolve_index change
1 parent 945ddb7 commit 956fee2

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
2-
"endpointErrors": {
3-
"indices.resolve_index": {
4-
"request": [
5-
"Request: query parameter 'mode' does not exist in the json spec"
6-
],
7-
"response": []
8-
}
9-
},
2+
"endpointErrors": {},
103
"generalErrors": [
114
"Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'",
125
"Dangling type '_global.scripts_painless_execute:PainlessScript'",

specification/_json_spec/indices.resolve_index.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@
3939
"type": "boolean",
4040
"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)",
4141
"default": true
42+
},
43+
"mode": {
44+
"type": "enum",
45+
"options": ["standard", "time_series", "logsdb", "lookup"],
46+
"default": "",
47+
"description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter."
4248
}
4349
}
4450
}

0 commit comments

Comments
 (0)