Skip to content

Commit

Permalink
Fix "outer" max_docs documentation (elastic#80436)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jakelandis committed Nov 8, 2021
1 parent d923ba5 commit c1a9f71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/reference/docs/reindex.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<conflicts, conflicts>> 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 <<conflicts, conflicts>> 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, <<query-dsl, query object>>) Specifies the documents to reindex using the Query DSL.

Expand Down

0 comments on commit c1a9f71

Please sign in to comment.