OpenSearch/client
Henning Andersen dea935ac31
Reindex max_docs parameter name (#42942)
Previously, a reindex request had two different size specifications in the body:
* Outer level, determining the maximum documents to process
* Inside the source element, determining the scroll/batch size.

The outer level size has now been renamed to max_docs to
avoid confusion and clarify its semantics, with backwards compatibility and
deprecation warnings for using size.
Similarly, the size parameter has been renamed to max_docs for
update/delete-by-query to keep the 3 interfaces consistent.

Finally, all 3 endpoints now support max_docs in both body and URL.

Relates #24344
2019-06-07 12:16:36 +02:00
..
benchmark [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
client-benchmark-noop-api-plugin Cut over SearchResponse and SearchTemplateResponse to Writeable (#41855) 2019-05-22 18:47:54 +02:00
rest Fix version parsing in various tests (#42871) 2019-06-04 18:22:20 -04:00
rest-high-level Reindex max_docs parameter name (#42942) 2019-06-07 12:16:36 +02:00
sniffer [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
test [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
transport [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00