Elastica v3.0.0 Release Notes

  • 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.