Skip to content

Commit 58fdadf

Browse files
jrodewiggaobinlong
andauthored
[DOCS] Format the multi search api doc (elastic#68621) (elastic#68691)
Co-authored-by: bellengao <[email protected]>
1 parent 0bedc86 commit 58fdadf

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

docs/reference/search/multi-search.asciidoc

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,32 @@ If `true`, the request does *not* return an error if a wildcard expression or
185185
This parameter also applies to <<indices-aliases,index aliases>> that point to a
186186
missing or closed index.
187187

188-
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=expand-wildcards]
188+
`expand_wildcards`:::
189+
+
190+
--
191+
(Optional, string)
192+
Type of index that wildcard expressions can match. If the request can target
193+
data streams, this argument determines whether wildcard expressions match
194+
hidden data streams. Supports comma-separated values, such as `open,hidden`.
195+
Valid values are:
196+
197+
`all`::
198+
Match any data stream or index, including <<hidden-indices,hidden>> ones.
199+
200+
`open`::
201+
Match open, non-hidden indices. Also matches any non-hidden data stream.
202+
203+
`closed`::
204+
Match closed, non-hidden indices. Also matches any non-hidden data stream. Data
205+
streams cannot be closed.
206+
207+
`hidden`::
208+
Match hidden data streams and hidden indices. Must be combined with `open`,
209+
`closed`, or both.
210+
211+
`none`::
212+
Wildcard expressions are not accepted.
213+
--
189214
+
190215
Defaults to `open`.
191216

0 commit comments

Comments
 (0)