|
1 | 1 | == Breaking changes from 2.x
|
2 | 2 |
|
3 | 3 | - Indices/Analyze Endpoint: `filters` and `char_filters` URI parameters have renamed to `filter` and `char_filter` respectively
|
4 |
| -- SearchExists endpoint has been removed ([use `size=0` and `terminate_after=1` instead](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_search_changes.html#_search_exists_api_removed)) |
5 |
| -- Warmers have been removed because they are [no longer useful](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_index_apis.html#_warmers) |
6 |
| -- Indices/Optimize Endpoint has been removed ([use `_forcemerge` instead](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_rest_api_changes.html#_literal__optimize_literal_endpoint_removed)) |
| 4 | +- SearchExists endpoint has been removed (link:https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_search_changes.html#_search_exists_api_removed[use `size=0` and `terminate_after=1` instead] |
| 5 | +- Warmers have been removed because they are link:https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_index_apis.html#_warmers[no longer useful] |
| 6 | +- Indices/Optimize Endpoint has been removed (link:https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_rest_api_changes.html#_literal__optimize_literal_endpoint_removed[use `_forcemerge` instead]) |
7 | 7 | - MoreLikeThis (MLT) endpoint has been removed
|
8 | 8 | - DeleteByQuery endpoint has been removed.
|
9 |
| -- Tasks/List and Tasks/Get are now separate endpoints (see: [[e0cc5f9]](http://github.com/elasticsearch/elasticsearch-php/commit/752d5a2)) |
| 9 | +- Tasks/List and Tasks/Get are now separate endpoints (see: link:http://github.com/elasticsearch/elasticsearch-php/commit/752d5a2[e0cc5f9]) |
10 | 10 | - Client requires PHP 5.6.6 or higher
|
11 | 11 |
|
12 | 12 | === Deprecations
|
|
15 | 15 |
|
16 | 16 | === Internal BWC Breaks
|
17 | 17 |
|
18 |
| -- 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]](http://github.com/elasticsearch/elasticsearch-php/commit/b1a27b7)) |
| 18 | +- 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](http://github.com/elasticsearch/elasticsearch-php/commit/b1a27b7)) |
19 | 19 | - Endpoints no longer use the Transport directly. If you use custom endpoints, you'll need to do some minor
|
20 |
| -refactoring (see: Refactor to remove Transport dependence in endpoints [[ecd454c]](http://github.com/elasticsearch/elasticsearch-php/commit/ecd454c)) |
21 |
| -- To facilitate testing and other features, the `ConnectionInterface` has expanded to obtain some more methods ([[getPath()]](http://github.com/elasticsearch/elasticsearch-php/commit/8bcf1a8), [[getUserPass()]](http://github.com/elasticsearch/elasticsearch-php/commit/586fbdb), [[getHost()]](http://github.com/elasticsearch/elasticsearch-php/commit/445fdea)) |
| 20 | +refactoring (see: Refactor to remove Transport dependence in endpoints link:http://github.com/elasticsearch/elasticsearch-php/commit/ecd454c[ecd454c]) |
| 21 | +- To facilitate testing and other features, the `ConnectionInterface` has expanded to obtain some more methods (link:http://github.com/elasticsearch/elasticsearch-php/commit/8bcf1a8[getPath()], link:http://github.com/elasticsearch/elasticsearch-php/commit/586fbdb[getUserPass()], link:http://github.com/elasticsearch/elasticsearch-php/commit/445fdea[getHost()]) |
0 commit comments