Skip to content

Commit 43a02e1

Browse files
mohamedhamed-ahmedpquentin
authored andcommitted
Update resolve index missing type definition (#2856)
* Update resolve index missing type definition * Add allow_no_indices * Fix Markdown syntax in allow_no_indices * Run make contrib --------- Co-authored-by: Quentin Pradet <[email protected]> (cherry picked from commit f24570e)
1 parent a5c676e commit 43a02e1

File tree

7 files changed

+115
-2
lines changed

7 files changed

+115
-2
lines changed

output/openapi/elasticsearch-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/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-serverless.json

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

output/schema/schema.json

Lines changed: 27 additions & 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: 7 additions & 0 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 & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/indices/resolve_index/ResolveIndexRequest.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,17 @@ export interface Request extends RequestBase {
4444
* @server_default open
4545
*/
4646
expand_wildcards?: ExpandWildcards
47+
/**
48+
* If `false`, the request returns an error if it targets a missing or closed index.
49+
* @server_default false
50+
*/
51+
ignore_unavailable?: boolean
52+
/**
53+
* If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
54+
* This behavior applies even if the request targets other open indices.
55+
* For example, a request targeting `foo*,bar*` returns an error if an index starts with `foo` but no index starts with `bar`.
56+
* @server_default true
57+
*/
58+
allow_no_indices?: boolean
4759
}
4860
}

0 commit comments

Comments
 (0)