@@ -205,26 +205,48 @@ Enrich policy name
205205used to limit the request.
206206end::enrich-policy[]
207207
208+ tag::ds-expand-wildcards[]
209+ `expand_wildcards`::
210+ +
211+ --
212+ (Optional, string)
213+ Type of data stream that wildcard expressions can match. Supports
214+ comma-separated values, such as `open,hidden`. Valid values are:
215+
216+ `all`, `hidden`::
217+ Match any data stream, including <<hidden-indices,hidden>> ones.
218+
219+ `open`, `closed`::
220+ Matches any non-hidden data stream. Data streams cannot be closed.
221+
222+ `none`::
223+ Wildcard expressions are not accepted.
224+ --
225+ end::ds-expand-wildcards[]
226+
208227tag::expand-wildcards[]
209228`expand_wildcards`::
210229+
211230--
212- (Optional, string) Controls what kind of indices that wildcard expressions can
213- expand to. Multiple values are accepted when separated by a comma, as in
214- `open,hidden`. Valid values are:
231+ (Optional, string)
232+ Type of index that wildcard expressions can match. If the request can target
233+ data streams, this argument determines whether wildcard expressions match
234+ hidden data streams. Supports comma-separated values, such as `open,hidden`.
235+ Valid values are:
215236
216237`all`::
217- Expand to open and closed indices , including <<hidden-indices,hidden indices>> .
238+ Match any data stream or index , including <<hidden-indices,hidden>> ones .
218239
219240`open`::
220- Expand only to open indices.
241+ Match open, non-hidden indices. Also matches any non-hidden data stream .
221242
222243`closed`::
223- Expand only to closed indices.
244+ Match closed, non-hidden indices. Also matches any non-hidden data stream. Data
245+ streams cannot be closed.
224246
225247`hidden`::
226- Expansion of wildcards will include hidden indices.
227- Must be combined with `open`, `closed`, or both.
248+ Match hidden data streams and hidden indices. Must be combined with `open`,
249+ `closed`, or both.
228250
229251`none`::
230252Wildcard expressions are not accepted.
0 commit comments