WARNING: Version 2.4 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Breaking changes in 2.0
editBreaking changes in 2.0
editThis section discusses the changes that you need to be aware of when migrating your application to Elasticsearch 2.0.
Indices created before 0.90
editElasticsearch 2.0 can read indices created in version 0.90 and above. If any of your indices were created before 0.90 you will need to upgrade to the latest 1.x version of Elasticsearch first, in order to upgrade your indices or to delete the old indices. Elasticsearch will not start in the presence of old indices.
Elasticsearch migration plugin
editWe have provided the Elasticsearch migration plugin to help you detect any issues that you may have when upgrading to Elasticsearch 2.0. Please install and run the plugin before upgrading.
Also see
edit- Removed features
- Network changes
-
Multiple
path.data
striping - Mapping changes
- CRUD and routing changes
- Query DSL changes
- Search changes
- Aggregation changes
- Parent/Child changes
- Scripting changes
- Index API changes
- Snapshot and Restore changes
- Plugin and packaging changes
- Setting changes
-
Stats, info, and
cat
changes - Java API changes