diff --git a/docs/reference/search/point-in-time-api.asciidoc b/docs/reference/search/point-in-time-api.asciidoc index 45c4e3925be0..dc7644c7f3c2 100644 --- a/docs/reference/search/point-in-time-api.asciidoc +++ b/docs/reference/search/point-in-time-api.asciidoc @@ -20,6 +20,9 @@ changes happening between searches are only visible to the more recent point in * If the {es} {security-features} are enabled, you must have the `read` <> for the target data stream, index, or index alias. ++ +To search a <> for an index alias, you +must have the `read` index privilege for the alias's concrete indices. [[point-in-time-api-example]] ==== {api-examples-title} diff --git a/docs/reference/search/search.asciidoc b/docs/reference/search/search.asciidoc index 36f407b4aaef..471810c26dde 100644 --- a/docs/reference/search/search.asciidoc +++ b/docs/reference/search/search.asciidoc @@ -29,6 +29,9 @@ GET /my-index-000001/_search * If the {es} {security-features} are enabled, you must have the `read` <> for the target data stream, index, or index alias. For cross-cluster search, see <>. ++ +To search a <> for an index alias, you +must have the `read` index privilege for the alias's concrete indices. [[search-search-api-desc]] ==== {api-description-title} @@ -401,6 +404,24 @@ A boost value greater than `1.0` increases the score. A boost value between Minimum <> for matching documents. Documents with a lower `_score` are not included in the search results. +`pit`:: +(Optional, object) +Limits the search to a <>. If you provide +a `pit`, you cannot specify a `` in the request path. ++ +.Properties of `pit` +[%collapsible%open] +==== +`id`:: +(Required*, string) +ID for the PIT to search. If you provide a `pit` object, this parameter is +required. + +`keep_alive`:: +(Optional, <>) +Period of time used to extend the life of the PIT. +==== + [[request-body-search-query]] `query`:: (Optional, <>) Defines the search definition using the