api.asciidoc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [[breaking_70_api_changes]]
  2. === Breaking API changes in 7.0
  3. ==== Camel case and underscore parameters deprecated in 6.x have been removed
  4. A number of duplicate parameters deprecated in 6.x have been removed from
  5. Bulk request, Multi Get request, Term Vectors request, and More Like This Query
  6. requests.
  7. The following camel case parameters have been removed:
  8. * `opType`
  9. * `versionType`, `_versionType`
  10. The following parameters starting with underscore have been removed:
  11. * `_parent`
  12. * `_retry_on_conflict`
  13. * `_routing`
  14. * `_version`
  15. * `_version_type`
  16. Instead of these removed parameters, use their non camel case equivalents without
  17. starting underscore, e.g. use `version_type` instead of `_version_type` or `versionType`.
  18. ==== The parameter `fields` deprecated in 6.x has been removed from Bulk request
  19. and Update request. The Update API returns `400 - Bad request` if request contains
  20. unknown parameters (instead of ignored in the previous version).
  21. [[remove-suggest-metric]]
  22. ==== Remove support for `suggest` metric/index metric in indices stats and nodes stats APIs
  23. Previously, `suggest` stats were folded into `search` stats. Support for the
  24. `suggest` metric on the indices stats and nodes stats APIs remained for
  25. backwards compatibility. Backwards support for the `suggest` metric was
  26. deprecated in 6.3.0 and now removed in 7.0.0.
  27. [[remove-field-caps-body]]
  28. ==== In the fields capabilities API, `fields` can no longer be provided in the request body.
  29. In the past, `fields` could be provided either as a parameter, or as part of the request
  30. body. Specifying `fields` in the request body as opposed to a parameter was deprecated
  31. in 6.4.0, and is now unsupported in 7.0.0.