forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stardardize underscore requirements in parameters across different ty…
…pe of requests: _index, _type, _source, _id keep their underscores params like version and retry_on_conflict will be without underscores Throw an error if older versions of parameters are used BulkRequest, MultiGetRequest, TermVectorcRequest, MoreLikeThisQuery were changed Related to elastic#27040 Closes elastic#26886
- Loading branch information
1 parent
fbf379c
commit a9d947b
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
[[breaking_70_api_changes]] | ||
=== Breaking changes in 7.0 | ||
|
||
==== Deprecated camel case and underscore parameters | ||
==== Camel case and underscore parameters deprecated in 6.x have been removed | ||
A number of duplicate parameters deprecated in 6.x have been removed from | ||
Bulk request, Multi Get request, Term Vectors request, and More Like This Query | ||
requests have deprecated a number of duplicate parameters. | ||
requests. | ||
|
||
The following camel case parameters have been deprecated: | ||
The following camel case parameters have been removed: | ||
|
||
* `opType` | ||
* `versionType`, `_versionType` | ||
|
||
The following parameters starting with underscore have been deprecated: | ||
The following parameters starting with underscore have been removed: | ||
|
||
* `_parent` | ||
* `_retry_on_conflict` | ||
* `_routing` | ||
* `_version` | ||
* `_version_type` | ||
|
||
Instead of these deprecated parameters, use their non camel case equivalents without | ||
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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters