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