[DOCS] Add data streams to validate query API (#59420) (#59436)

This commit is contained in:
James Rodewig 2020-07-13 12:50:34 -04:00 committed by GitHub
parent f95658d1f8
commit 0a7664e190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,7 @@ GET twitter/_validate/query?q=user:foo
[[search-validate-api-request]] [[search-validate-api-request]]
==== {api-request-title} ==== {api-request-title}
`GET /<index>/_validate/<query>` `GET /<target>/_validate/<query>`
[[search-validate-api-desc]] [[search-validate-api-desc]]
@ -27,7 +27,13 @@ request body.
[[search-validate-api-path-params]] [[search-validate-api-path-params]]
==== {api-path-parms-title} ==== {api-path-parms-title}
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index] `<target>`::
(Optional, string)
Comma-separated list of data streams, indices, and index aliases to search.
Wildcard (`*`) expressions are supported.
+
To search all data streams or indices in a cluster, omit this parameter or use
`_all` or `*`.
include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=query] include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=query]