Release 3.0.0
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
toavg
#975 - Set
json_decode()
assoc parameter to true inElastica\Response
#1005 - Add
bigintConversion
to keys passed to connection config inElastica\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 constMultiMatch::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