This release is compatible with Elasticsearch 2.x and was tested with elasticsearch 2.3.2.
Bugfixes
- Set HTTP headers on each request preventing server error if persistent connection is enabled and compression enabled and later disabled for the same connection.
- Removed
int
type hinting insetMinimumMatch
(Terms
Query): it should also allowstring
. #1151
Added
- Elastica\QueryBuilder\DSL\Query::geo_distance
- Elastica\Aggregation\GeoCentroid #1150
- Multi value field param for decay function.
- Elastica\Client::getVersion #1152
Improvements
- Set PHP 7.0 as default development version
- Get the root reason from Elasticsearch’s error JSON, when available #1111
- Optimize memory usage for Http Adapter #1161
Changed
- Remove JSON_ELASTICSEARCH constant as not needed anymore