Skip to content

Commit ef12a29

Browse files
authored
Document new index mode filter for _resolve/index (#5256)
* Document new index mode filter for _resolve/index See: elastic/elasticsearch#133616
1 parent d3f9caf commit ef12a29

File tree

6 files changed

+82
-7
lines changed

6 files changed

+82
-7
lines changed

output/openapi/elasticsearch-openapi.json

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

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 29 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

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

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
}

specification/indices/resolve_index/ResolveIndexRequest.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import { RequestBase } from '@_types/Base'
2121
import { ExpandWildcards, Names } from '@_types/common'
22+
import { IndexMode } from '@indices/_types/DataStream'
2223

2324
/**
2425
* Resolve indices.
@@ -64,5 +65,9 @@ export interface Request extends RequestBase {
6465
* @server_default true
6566
*/
6667
allow_no_indices?: boolean
68+
/**
69+
* Filter indices by index mode - standard, lookup, time_series, etc. Comma-separated list of IndexMode. Empty means no filter.
70+
*/
71+
mode?: IndexMode | IndexMode[]
6772
}
6873
}

0 commit comments

Comments
 (0)