Skip to content

Commit 319bffd

Browse files
committed
Fix msearch rest-api-spec
1 parent 20ef955 commit 319bffd

File tree

1 file changed

+32
-0
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/api

1 file changed

+32
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,38 @@
6969
"type":"boolean",
7070
"description":"Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution",
7171
"default":"true"
72+
},
73+
"index":{
74+
"type":"list",
75+
"description":"A comma-separated list of index names to use as default"
76+
},
77+
"ignore_unavailable":{
78+
"type":"boolean",
79+
"description":"Whether specified concrete indices should be ignored when unavailable (missing or closed)"
80+
},
81+
"ignore_throttled":{
82+
"type":"boolean",
83+
"description":"Whether specified concrete, expanded or aliased indices should be ignored when throttled",
84+
"deprecated":true
85+
},
86+
"allow_no_indices":{
87+
"type":"boolean",
88+
"description":"Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
89+
},
90+
"expand_wildcards":{
91+
"type":"enum",
92+
"options": ["open", "closed", "hidden", "none", "all"],
93+
"default":"open",
94+
"description":"Whether to expand wildcard expression to concrete indices that are open, closed or both."
95+
},
96+
"routing":{
97+
"type":"list",
98+
"description":"A comma-separated list of specific routing values"
99+
},
100+
"include_named_queries_score":{
101+
"type":"boolean",
102+
"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)",
103+
"default": false
72104
}
73105
},
74106
"body":{

0 commit comments

Comments
 (0)