-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove PutTemplate endpoint, lang param of PutScript no longer used
Fixes #686
- Loading branch information
1 parent
5a515ac
commit a13544f
Showing
4 changed files
with
4 additions
and
141 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,4 @@ | ||
# 5.0 | ||
# 6.0 | ||
|
||
## Breaking changes | ||
|
||
- Indices/Analyze Endpoint: `filters` and `char_filters` URI parameters have renamed to `filter` and `char_filter` respectively | ||
- SearchExists endpoint has been removed ([use `size=0` and `terminate_after=1` instead](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_search_changes.html#_search_exists_api_removed)) | ||
- Warmers have been removed because they are [no longer useful](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_index_apis.html#_warmers) | ||
- Indices/Optimize Endpoint has been removed ([use `_forcemerge` instead](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_50_rest_api_changes.html#_literal__optimize_literal_endpoint_removed)) | ||
- MoreLikeThis (MLT) endpoint has been removed | ||
- DeleteByQuery endpoint has been removed. | ||
- Tasks/List and Tasks/Get are now separate endpoints (see: [[e0cc5f9]](https://github.com/elasticsearch/elasticsearch-php/commit/752d5a2)) | ||
- Client requires PHP 5.6.6 or higher | ||
|
||
## Deprecations | ||
|
||
- Percolator endpoints are deprecated and will be removed in Elasticsearch 6.0 | ||
|
||
## Internal BWC Breaks | ||
|
||
- Namespace injection has changed slightly. If you use custom namespaces, you'll need to update your code (see: Add better ability to inject namespaces [[b1a27b7]](https://github.com/elasticsearch/elasticsearch-php/commit/b1a27b7)) | ||
- Endpoints no longer use the Transport directly. If you use custom endpoints, you'll need to do some minor | ||
refactoring (see: Refactor to remove Transport dependence in endpoints [[ecd454c]](https://github.com/elasticsearch/elasticsearch-php/commit/ecd454c)) | ||
- To facilitate testing and other features, the `ConnectionInterface` has expanded to obtain some more methods ([[getPath()]](https://github.com/elasticsearch/elasticsearch-php/commit/8bcf1a8), [[getUserPass()]](https://github.com/elasticsearch/elasticsearch-php/commit/586fbdb), [[getHost()]](https://github.com/elasticsearch/elasticsearch-php/commit/445fdea)) | ||
- [Search Templates]: PutTemplate endpoint has been removed (see [Elasticsearch Breaking Changes](https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking_60_scripting_changes.html#_stored_search_template_apis_removed)), | ||
use PutScript instead. |
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
This file was deleted.
Oops, something went wrong.