Backward Compatibility Breaks
\Elastica\Script\AbstractScript added the script language as constructor argument and sub-classes must implement
- Removed features that do not exist in Elasticsearch 5.0 anymore:
timestamp logic: setters and getters in documents and mapping
\Elastica\Query\MatchPhrasePrefix do not extend
\Elastica\Query\Match anymore because they do not share exactly the same options
- Removed the
routing option in
\Elastica\Index::create because there is no routing param when creating an index. So that option was doing nothing so far but fails in Elasticearch 5.0 because the non-existing query param is validated.
relation property of
\Elastica\Script\ScriptId to reference stored scripts by ID
- Date math in index names is now escaped in URI
- Added a check for paths that already have date math escaped
\Elastica\Query\HasParent to use
parent_type instead of
type. Fixes warning due to field being deprecated.
- Deprecated functionality that is also deprecated in Elasticsearch 5.0:
\Elastica\Client::optimizeAll in favor of
\Elastica\Query\BoolQuery::setMinimumNumberShouldMatch in favor of
\Elastica\Query\GeoDistanceRange: use distance aggregations or sorting instead
\Elastica\Query\Indices: search on the
_index field instead
\Elastica\Transport\Null is deprecated because null is a reserved class name in PHP 7. Use
Press h to open a hovercard with more details.