You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit finalizes the work done to rename size to max_docs in
reindex and update/delete by query. size is no longer supported in URL
or outer level body for the 3 APIs (though size in update/delete-by-query
will and has always been interpreted as scroll_size, it is not to be relied
upon).
Continuation of #41894Closes#24344
Copy file name to clipboardExpand all lines: docs/reference/migration/migrate_8_0/reindex.asciidoc
+15-1
Original file line number
Diff line number
Diff line change
@@ -12,4 +12,18 @@ Instead, please specify the index-name without any encoding.
12
12
[float]
13
13
==== Removal of types
14
14
15
-
The `/{index}/{type}/_delete_by_query` and `/{index}/{type}/_update_by_query` REST endpoints have been removed in favour of `/{index}/_delete_by_query` and `/{index}/_update_by_query`, since indexes no longer contain types, these typed endpoints are obsolete.
15
+
The `/{index}/{type}/_delete_by_query` and `/{index}/{type}/_update_by_query` REST endpoints have been removed in favour of `/{index}/_delete_by_query` and `/{index}/_update_by_query`, since indexes no longer contain types, these typed endpoints are obsolete.
16
+
17
+
[float]
18
+
==== Removal of size parameter
19
+
20
+
Previously, a `_reindex` request had two different size specifications in the body:
21
+
22
+
- Outer level, determining the maximum number of documents to process
23
+
- Inside the `source` element, determining the scroll/batch size.
24
+
25
+
The outer level `size` parameter has now been renamed to `max_docs` to
26
+
avoid confusion and clarify its semantics.
27
+
28
+
Similarly, the `size` parameter has been renamed to `max_docs` for
29
+
`_delete_by_query` and `_update_by_query` to keep the 3 interfaces consistent.
0 commit comments