This release is compatible with Elasticsearch 6.x and was tested with elasticsearch 6.0.0.
Bugfixes
- Characters “<” and “>” will be removed when a query term is passed to
Util::escapeTerm
. Since v5.1 the documentation states that these symbols cannot be escaped ever. - Remove
each()
usage to fix PHP 7.2 compatibility - Fix #1435 forcing
doc_as_upsert
to be boolean, acording Elastic doc-update documentation - Fix #1456 set SSL as connection scheme if it is required
Added
- Added request parameters to
Client->deleteDocuments()
. #1419 - Added request parameters to
Type->updateDocuments()
,Type->addDocuments()
,Type->addObjects()
,Index->addDocuments()
,Index->updateDocuments()
. #1427 - Added avg_bucket() and sum_bucket() in aggregations PR#1443 - (https://github.com/ruflin/Elastica/issues/1279)
- Added support for terms lookup mechanism on terms query #1452