diff --git a/docs/reference/search/multi-search.asciidoc b/docs/reference/search/multi-search.asciidoc index 3642c09967c..bf8cc68692b 100644 --- a/docs/reference/search/multi-search.asciidoc +++ b/docs/reference/search/multi-search.asciidoc @@ -399,3 +399,13 @@ GET _msearch/template To ensure fast responses, the multi search API will respond with partial results if one or more shards fail. See <> for more information. + +[[msearch-cancellation]] +=== Search Cancellation + +Multi searches can be cancelled using standard <> +mechanism and are also automatically cancelled when the http connection used to +perform the request is closed by the client. It is fundamental that the http +client sending requests closes connections whenever requests time out or are +aborted. Cancelling an msearch request will also cancel all of the corresponding +sub search requests.