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