Skip to content

Commit c1a9f71

Browse files
committed
Fix "outer" max_docs documentation (elastic#80436)
This commit fixes a documentation bug that lists 'max_docs' nested under source it should live at the same level as source related: elastic#43373
1 parent d923ba5 commit c1a9f71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/reference/docs/reindex.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,16 +509,16 @@ include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=max_docs]
509509
(Optional, enum) Set to `proceed` to continue reindexing even if there are conflicts.
510510
Defaults to `abort`.
511511

512+
`max_docs`::
513+
(Optional, integer) The maximum number of documents to reindex. If <<conflicts, conflicts>> is equal to
514+
`proceed`, reindex could attempt to reindex more documents from the source than `max_docs` until it has successfully
515+
indexed `max_docs` documents into the target, or it has gone through every document in the source query.
516+
512517
`source`::
513518
`index`:::
514519
(Required, string) The name of the data stream, index, or alias you are copying
515520
_from_. Also accepts a comma-separated list to reindex from multiple sources.
516521

517-
`max_docs`:::
518-
(Optional, integer) The maximum number of documents to reindex. If <<conflicts, conflicts>> is equal to
519-
`proceed`, reindex could attempt to reindex more documents from the source than `max_docs` until it has successfully
520-
indexed `max_docs` documents into the target, or it has gone through every document in the source query.
521-
522522
`query`:::
523523
(Optional, <<query-dsl, query object>>) Specifies the documents to reindex using the Query DSL.
524524

0 commit comments

Comments
 (0)