You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If you are using Elasticsearch 5.0+ , use Elasticsearch-PHP 5.0 branch.
34
+
- If you are using Elasticsearch 6.0+ , use Elasticsearch-PHP 6.0 branch.
35
+
- If you are using Elasticsearch 5.x , use Elasticsearch-PHP 5.0 branch.
34
36
- If you are using Elasticsearch 1.x or 2.x, prefer using the Elasticsearch-PHP 2.0 branch. The 1.0 branch is compatible however.
35
37
- If you are using a version older than 1.0, you must install the `0.4` Elasticsearch-PHP branch. Since ES 0.90.x and below is now EOL, the corresponding `0.4` branch will not receive any more development or bugfixes. Please upgrade.
36
38
- You should never use Elasticsearch-PHP Master branch, as it tracks Elasticearch master and may contain incomplete features or breaks in backwards compat. Only use ES-PHP master if you are developing against ES master for some reason.
@@ -48,7 +50,7 @@ The recommended method to install _Elasticsearch-PHP_ is through [Composer](http
48
50
```json
49
51
{
50
52
"require": {
51
-
"elasticsearch/elasticsearch": "~5.0"
53
+
"elasticsearch/elasticsearch": "~6.0"
52
54
}
53
55
}
54
56
```
@@ -82,11 +84,12 @@ You can find out more on how to install Composer, configure autoloading, and oth
82
84
83
85
PHP Version Requirement
84
86
----
85
-
Version 5.0 of this library requires at least PHP version 5.6.6 to function. In addition, it requires the native JSON
87
+
Version 6.0 of this library requires at least PHP version 7.0.0 to function. In addition, it requires the native JSON
- 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)
5
-
- Warmers have been removed because they are no longer useful
6
-
- Indices/Optimize Endpoint has been removed (use `_forcemerge` instead)
7
-
- MoreLikeThis (MLT) endpoint has been removed
8
-
- DeleteByQuery endpoint has been removed.
9
-
- Tasks/List and Tasks/Get are now separate endpoints (see: link:https://github.com/elasticsearch/elasticsearch-php/commit/752d5a2[e0cc5f9])
10
-
- Client requires PHP 5.6.6 or higher
11
-
12
-
=== Deprecations
13
-
14
-
- Percolator endpoints are deprecated and will be removed in Elasticsearch 6.0
15
-
16
-
=== Internal BWC Breaks
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 link:https://github.com/elasticsearch/elasticsearch-php/commit/b1a27b7[b1a27b7])
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 link:https://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:https://github.com/elasticsearch/elasticsearch-php/commit/8bcf1a8[getPath()], link:https://github.com/elasticsearch/elasticsearch-php/commit/586fbdb[getUserPass()], link:https://github.com/elasticsearch/elasticsearch-php/commit/445fdea[getHost()])
0 commit comments