docs.asciidoc 662 B

123456789101112131415161718192021222324252627282930313233
  1. [[breaking_50_document_api_changes]]
  2. === Document API changes
  3. ==== Reindex and Update By Query
  4. Before 5.0.0 `_reindex` and `_update_by_query` only retried bulk failures so
  5. they used the following response format:
  6. [source,js]
  7. ----------------------
  8. {
  9. ...
  10. "retries": 10
  11. ...
  12. }
  13. ----------------------
  14. Where `retries` counts the number of bulk retries. Now they retry on search
  15. failures as well and use this response format:
  16. [source,js]
  17. ----------------------
  18. {
  19. ...
  20. "retries": {
  21. "bulk": 10,
  22. "search": 1
  23. }
  24. ...
  25. }
  26. ----------------------
  27. Where `bulk` counts the number of bulk retries and `search` counts the number
  28. of search retries.