Skip to content

Commit e04a59e

Browse files
committed
Add include_named_queries_score for msearch.
Signed-off-by: James Diprose <[email protected]>
1 parent c5ca97a commit e04a59e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spec/namespaces/_core.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ paths:
286286
url: https://opensearch.org/docs/latest/api-reference/multi-search/
287287
parameters:
288288
- $ref: '#/components/parameters/msearch::query.ccs_minimize_roundtrips'
289+
- $ref: '#/components/parameters/msearch::query.include_named_queries_score'
289290
- $ref: '#/components/parameters/msearch::query.max_concurrent_searches'
290291
- $ref: '#/components/parameters/msearch::query.max_concurrent_shard_requests'
291292
- $ref: '#/components/parameters/msearch::query.pre_filter_shard_size'
@@ -306,6 +307,7 @@ paths:
306307
url: https://opensearch.org/docs/latest/api-reference/multi-search/
307308
parameters:
308309
- $ref: '#/components/parameters/msearch::query.ccs_minimize_roundtrips'
310+
- $ref: '#/components/parameters/msearch::query.include_named_queries_score'
309311
- $ref: '#/components/parameters/msearch::query.max_concurrent_searches'
310312
- $ref: '#/components/parameters/msearch::query.max_concurrent_shard_requests'
311313
- $ref: '#/components/parameters/msearch::query.pre_filter_shard_size'
@@ -4910,6 +4912,14 @@ components:
49104912
type: boolean
49114913
default: true
49124914
style: form
4915+
msearch::query.include_named_queries_score:
4916+
in: query
4917+
name: include_named_queries_score
4918+
description: Indicates whether `hit.matched_queries` should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false).
4919+
schema:
4920+
type: boolean
4921+
default: false
4922+
style: form
49134923
msearch::query.max_concurrent_searches:
49144924
in: query
49154925
name: max_concurrent_searches

0 commit comments

Comments
 (0)