Skip to content

Commit 752c5e1

Browse files
authored
Add missing index query parameter to msearch (#4980) (#4984)
(cherry picked from commit c7bfb98) # Conflicts: # output/schema/schema.json # output/schema/validation-errors.json
1 parent b405433 commit 752c5e1

File tree

5 files changed

+62
-1
lines changed

5 files changed

+62
-1
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 22 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: 22 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: 13 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@
251251
"Request: query parameter 'ignore_throttled' does not exist in the json spec",
252252
"Request: query parameter 'ignore_unavailable' does not exist in the json spec",
253253
"Request: query parameter 'include_named_queries_score' does not exist in the json spec",
254+
"Request: query parameter 'index' does not exist in the json spec",
254255
"Request: query parameter 'routing' does not exist in the json spec"
255256
],
256257
"response": []

specification/_global/msearch/MultiSearchRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ export interface Request extends RequestBase {
9999
* @server_default false
100100
*/
101101
include_named_queries_score?: boolean
102+
/**
103+
* Comma-separated list of data streams, indices, and index aliases to use as default
104+
*/
105+
index?: Indices
102106
/**
103107
* Maximum number of concurrent searches the multi search API can execute.
104108
*/

0 commit comments

Comments
 (0)