5.0.0
Changes in this release
New major version. The most important change is to add support for Elasticseach >=5.
To upgrade from 2.x to 5.x:
- Namespace for some queries were changed. Queries were consolidated to a domain like Elasticsearch does. All queries were grouped to
Compound
,FullText
,Geo
,Joining
,Span
,Specialized
andTermLevel
. Search::setFields()
andSearch::getFields()
were changed toSearch::setStoredFields()
andSearch::getStoredFields()
.- PHP version support changed to >=5.6
- Added
elasticsearch\elasticsearch
to required dependency list in the composer.json. - Deprecated aggregations removed. Check if the namespace is correct. All aggregations grouped to
Bucketing
,Metric
andPipeline
namespaces. Search::getQueryParams()
changed toSearch::getUriParams()
. All setter's for request URI parameters removed in favor ofuriParams
container. You can add URI parameters byaddUriParam
, and this function also has validation.FilterEndpoint
was removed due to deprecated filters in elasticsearch.