From 9c0624fcffc7d4249dc368799c74624c75cdd35f Mon Sep 17 00:00:00 2001 From: bellengao Date: Wed, 9 Dec 2020 10:26:12 +0800 Subject: [PATCH 1/2] [DOCS] Fix repetitive timeout query params in delete-by-query and update-by-query doc --- docs/reference/docs/delete-by-query.asciidoc | 5 ++++- docs/reference/docs/update-by-query.asciidoc | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/reference/docs/delete-by-query.asciidoc b/docs/reference/docs/delete-by-query.asciidoc index cd5f0f6beaac0..22f1155f5aece 100644 --- a/docs/reference/docs/delete-by-query.asciidoc +++ b/docs/reference/docs/delete-by-query.asciidoc @@ -213,7 +213,10 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=scroll_size] include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_type] -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_timeout] +`search_timeout`:: +(Optional, <>) +Explicit timeout for each search request. +Defaults to no timeout. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=slices] diff --git a/docs/reference/docs/update-by-query.asciidoc b/docs/reference/docs/update-by-query.asciidoc index 31f8ea128d495..4a410c7c42bf5 100644 --- a/docs/reference/docs/update-by-query.asciidoc +++ b/docs/reference/docs/update-by-query.asciidoc @@ -213,7 +213,10 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=scroll_size] include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_type] -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=search_timeout] +`search_timeout`:: +(Optional, <>) +Explicit timeout for each search request. +Defaults to no timeout. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=slices] From 41ef89d26269da276cd321174a0cbdd1cb276c7a Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Wed, 9 Dec 2020 13:05:48 -0500 Subject: [PATCH 2/2] Remove common-parms file --- docs/reference/rest-api/common-parms.asciidoc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/reference/rest-api/common-parms.asciidoc b/docs/reference/rest-api/common-parms.asciidoc index dc84bc3317d14..a09d5c98519a8 100644 --- a/docs/reference/rest-api/common-parms.asciidoc +++ b/docs/reference/rest-api/common-parms.asciidoc @@ -783,13 +783,6 @@ tag::search-time-ms[] The amount of time spent searching, in milliseconds. end::search-time-ms[] -tag::search_timeout[] -`timeout`:: -(Optional, <>) -Explicit timeout for each search request. -Defaults to no timeout. -end::search_timeout[] - tag::search-total[] The number of search operations on the source index for the {transform}. end::search-total[]