From ddc7305ac981e58774dbe4cd36256d9ba855ada1 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Tue, 28 Apr 2020 09:43:52 -0400 Subject: [PATCH] [DOCS] Correct search API's timeout parm default (#55855) --- docs/reference/search/search.asciidoc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/reference/search/search.asciidoc b/docs/reference/search/search.asciidoc index 32be4af6485..ddbda2b46e7 100644 --- a/docs/reference/search/search.asciidoc +++ b/docs/reference/search/search.asciidoc @@ -198,7 +198,10 @@ include::{docdir}/rest-api/common-parms.asciidoc[tag=index-ignore-unavailable] (Optional, integer) The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early. -include::{docdir}/rest-api/common-parms.asciidoc[tag=timeout] +`timeout`:: + (Optional, <>) Specifies the period of time to wait + for a response. If no response is received before the timeout expires, the + request fails and returns an error. Defaults to no timeout. `track_scores`:: (Optional, boolean) If `true`, then calculates and returns scores even if they