packagist ruflin/elastica 3.0.0
Release 3.0.0

latest releases: 8.x-dev, 8.0.0-alpha1, dev-8.0.0-alpha1-release...
8 years ago

Backward Compatibility Breaks

  • Revert getError changes in Response object and make it better BC compatible. See comment here.

Bugfixes

  • Function score query: corrected the score_method average to avg #975
  • Set json_decode() assoc parameter to true in Elastica\Response #1005
  • Add bigintConversion to keys passed to connection config in Elastica\Client #1005
  • Use POST instead of PUT to send bulk requests #1010

Added

  • Elastica\Query\MultiMatch::setFuzziness now supports being set to AUTO with the const MultiMatch::FUZZINESS_AUTO
  • Elastica\Type\Mapping::send now accepts query string parameters to send along with the mapping request
  • Elastica\Query\BoolQuery::addFilter

Improvements

  • More info on Elastica\Exception\PartialShardFailureException. Not just number of failed shards.
  • Allow bool in TopHits::setSource function #1012

Deprecated

  • Elastica\Query\Filtered triggers E_USER_DEPRECATED error because filtered query is deprecated since ES 2.0.0-beta1. Use BoolQuery instead.
  • Elastica\QueryBuilder\DSL\Query::filtered() triggers E_USER_DEPRECATED error because filtered query is deprecated since ES 2.0.0-beta1. Use bool() instead.

For more changes from 2.* also see https://github.com/ruflin/Elastica/releases/tag/3.0.0-beta1

Don't miss a new elastica release

NewReleases is sending notifications on new releases.