Skip to content

Commit 82298f3

Browse files
ES|QL: add include_execution_metadata to the query spec
1 parent 34dfe8b commit 82298f3

File tree

5 files changed

+37
-4
lines changed

5 files changed

+37
-4
lines changed

output/openapi/elasticsearch-openapi.json

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

specification/esql/query/QueryRequest.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,17 @@ export interface Request extends RequestBase {
108108
* When set to `true` and performing a cross-cluster query, the response will include an extra `_clusters`
109109
* object with information about the clusters that participated in the search along with info such as shards
110110
* count.
111+
* This is a synonym for `include_execution_metadata`, the two parameters can be used interchangeably but not together.
111112
* @server_default false
112113
*/
113114
include_ccs_metadata?: boolean
115+
/**
116+
* When set to `true` and performing a cross-cluster or cross-project query, the response will include an extra `_clusters`
117+
* object with information about the clusters that participated in the search along with info such as shards
118+
* count.
119+
* This is a synonym for `include_ccs_metadata`, the two parameters can be used interchangeably but not together.
120+
* @server_default false
121+
*/
122+
include_execution_metadata?: boolean
114123
}
115124
}

0 commit comments

Comments
 (0)