Skip to content

Commit c7bfb98

Browse files
authored
Add missing index query parameter to msearch (#4980)
1 parent 92bb3ad commit c7bfb98

File tree

5 files changed

+62
-9
lines changed

5 files changed

+62
-9
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 & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
{
2-
"endpointErrors": {
3-
"msearch": {
4-
"request": [
5-
"Request: missing json spec query parameter 'index'"
6-
],
7-
"response": []
8-
}
9-
},
2+
"endpointErrors": {},
103
"generalErrors": []
114
}

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
* Defaults to `max(1, (# of data nodes * min(search thread pool size, 10)))`.

0 commit comments

Comments
 (0)