Skip to content

Commit b38c24f

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

File tree

5 files changed

+61
-7
lines changed

5 files changed

+61
-7
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: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,12 +243,6 @@
243243
"Request: missing json spec query parameter 'allow_no_datafeeds'"
244244
],
245245
"response": []
246-
},
247-
"msearch": {
248-
"request": [
249-
"Request: missing json spec query parameter 'index'"
250-
],
251-
"response": []
252246
}
253247
},
254248
"generalErrors": [

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)