reindex.asciidoc 1.2 KB

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