From 197cbf9004a6df21c5bcd755c814b5cf40340006 Mon Sep 17 00:00:00 2001 From: Jake Landis Date: Mon, 8 Nov 2021 07:58:55 -0600 Subject: [PATCH] Fix "outer" max_docs documentation (#80436) This commit fixes a documentation bug that lists 'max_docs' nested under source it should live at the same level as source related: #43373 --- docs/reference/docs/reindex.asciidoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/docs/reindex.asciidoc b/docs/reference/docs/reindex.asciidoc index 846893f8b0d33..4b062199046fa 100644 --- a/docs/reference/docs/reindex.asciidoc +++ b/docs/reference/docs/reindex.asciidoc @@ -509,16 +509,16 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=max_docs] (Optional, enum) Set to `proceed` to continue reindexing even if there are conflicts. Defaults to `abort`. +`max_docs`:: +(Optional, integer) The maximum number of documents to reindex. If <> is equal to +`proceed`, reindex could attempt to reindex more documents from the source than `max_docs` until it has successfully +indexed `max_docs` documents into the target, or it has gone through every document in the source query. + `source`:: `index`::: (Required, string) The name of the data stream, index, or alias you are copying _from_. Also accepts a comma-separated list to reindex from multiple sources. -`max_docs`::: -(Optional, integer) The maximum number of documents to reindex. If <> is equal to -`proceed`, reindex could attempt to reindex more documents from the source than `max_docs` until it has successfully -indexed `max_docs` documents into the target, or it has gone through every document in the source query. - `query`::: (Optional, <>) Specifies the documents to reindex using the Query DSL.