reindex.asciidoc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [float]
  2. [[breaking_80_reindex_changes]]
  3. === Reindex changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. //end::notable-breaking-changes[]
  8. Reindex from remote would previously allow URL encoded index-names and not
  9. re-encode them when generating the search request for the remote host. This
  10. leniency has been removed such that all index-names are correctly encoded when
  11. reindex generates remote search requests.
  12. Instead, please specify the index-name without any encoding.
  13. [float]
  14. ==== Removal of types
  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. [float]
  17. ==== Removal of size parameter
  18. Previously, a `_reindex` request had two different size specifications in the body:
  19. - Outer level, determining the maximum number of documents to process
  20. - Inside the `source` element, determining the scroll/batch size.
  21. The outer level `size` parameter has now been renamed to `max_docs` to
  22. avoid confusion and clarify its semantics.
  23. Similarly, the `size` parameter has been renamed to `max_docs` for
  24. `_delete_by_query` and `_update_by_query` to keep the 3 interfaces consistent.