Elastica v3.1.0 Release Notes
-
Backward Compatibility Breaks
- โก๏ธ Update Guzzle transport to use Guzzle 6
- ๐ Elastica\Query\FunctionScore::setFilter - deprecated and will throw DeprecatedException since not supported by Elasticsearch. Use setQuery instead.
โ Added
Elastica\Result->getDocument
andElastica\ResultSet->getDocuments
for return\Elastica\Document
. https://github.com/ruflin/Elastica/issues/960
๐ Improvements
- โ Add username and password params to connection
๐ Deprecated
- ๐ Elastica\AbstractScript|Script|ScriptFile|ScriptFields deprecated in favor of Elastica\Script|AbstractScript|Script|ScriptFile|ScriptFields #1028
- ๐ Elastica\Filter* are deprecated. You can use proper queries instead. Backward compatibility layer provided, but will be removed in next Elastica releases. See https://www.elastic.co/blog/better-query-execution-coming-elasticsearch-2-0 and https://github.com/ruflin/Elastica/issues/1001