From 0a7664e1908b5bf124f82a613ed32bc15f76b013 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Mon, 13 Jul 2020 12:50:34 -0400 Subject: [PATCH] [DOCS] Add data streams to validate query API (#59420) (#59436) --- docs/reference/search/validate.asciidoc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/reference/search/validate.asciidoc b/docs/reference/search/validate.asciidoc index 3e61f43b9b5..9231e1e854a 100644 --- a/docs/reference/search/validate.asciidoc +++ b/docs/reference/search/validate.asciidoc @@ -13,7 +13,7 @@ GET twitter/_validate/query?q=user:foo [[search-validate-api-request]] ==== {api-request-title} -`GET //_validate/` +`GET //_validate/` [[search-validate-api-desc]] @@ -27,7 +27,13 @@ request body. [[search-validate-api-path-params]] ==== {api-path-parms-title} -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index] +``:: +(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]