Skip to content

5.0.0

Compare
Choose a tag to compare
@saimaz saimaz released this 30 Jan 15:04
· 43 commits to 5.x since this release

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 and TermLevel.
  • Search::setFields() and Search::getFields() were changed to Search::setStoredFields() and Search::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 and Pipeline namespaces.
  • Search::getQueryParams() changed to Search::getUriParams(). All setter's for request URI parameters removed in favor of uriParams container. You can add URI parameters by addUriParam, and this function also has validation.
  • FilterEndpoint was removed due to deprecated filters in elasticsearch.