2016-02-29 09:35:48 -05:00
|
|
|
[[breaking-changes-5.0]]
|
|
|
|
== Breaking changes in 5.0
|
2015-09-03 09:00:52 -04:00
|
|
|
|
|
|
|
This section discusses the changes that you need to be aware of when migrating
|
2016-02-29 09:35:48 -05:00
|
|
|
your application to Elasticsearch 5.0.
|
|
|
|
|
2016-03-14 23:13:06 -04:00
|
|
|
[float]
|
|
|
|
=== Indices created before 5.0
|
|
|
|
|
|
|
|
Elasticsearch 5.0 can read indices created in version 2.0 and above. If any
|
|
|
|
of your indices were created before 2.0 you will need to upgrade to the
|
|
|
|
latest 2.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. To upgrade 2.x indices, first start a node which have access to all
|
|
|
|
the data folders and let it upgrade all the indices before starting up rest of
|
|
|
|
the cluster.
|
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
[IMPORTANT]
|
|
|
|
.Reindex indices from Elasticseach 1.x or before
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
Indices created in Elasticsearch 1.x or before will need to be reindexed with
|
|
|
|
Elasticsearch 2.x in order to be readable by Elasticsearch 5.x. The easiest
|
|
|
|
way to do this is to upgrade to Elasticsearch 2.3 or later and to use the
|
|
|
|
`reindex` API.
|
|
|
|
|
|
|
|
=========================================
|
|
|
|
|
|
|
|
[float]
|
|
|
|
=== Also see:
|
|
|
|
|
2016-02-29 09:35:48 -05:00
|
|
|
* <<breaking_50_search_changes>>
|
2016-03-13 16:17:48 -04:00
|
|
|
* <<breaking_50_mapping_changes>>
|
|
|
|
* <<breaking_50_percolator>>
|
|
|
|
* <<breaking_50_index_apis>>
|
|
|
|
* <<breaking_50_settings_changes>>
|
|
|
|
* <<breaking_50_allocation>>
|
2016-02-29 09:35:48 -05:00
|
|
|
* <<breaking_50_rest_api_changes>>
|
|
|
|
* <<breaking_50_cat_api>>
|
|
|
|
* <<breaking_50_java_api_changes>>
|
|
|
|
* <<breaking_50_packaging>>
|
2016-03-13 16:17:48 -04:00
|
|
|
* <<breaking_50_plugins>>
|
2016-04-08 06:18:02 -04:00
|
|
|
* <<breaking_50_fs>>
|
2016-03-03 13:44:56 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/search.asciidoc[]
|
2016-01-22 06:50:28 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/mapping.asciidoc[]
|
2016-01-22 06:50:28 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/percolator.asciidoc[]
|
2016-01-28 04:31:43 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/index-apis.asciidoc[]
|
2016-02-29 09:25:39 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/settings.asciidoc[]
|
2016-02-29 09:25:39 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/allocation.asciidoc[]
|
2016-01-28 04:31:43 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/rest.asciidoc[]
|
2016-02-04 10:23:58 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/cat.asciidoc[]
|
2016-01-22 07:00:50 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/java.asciidoc[]
|
2016-01-22 07:00:50 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/packaging.asciidoc[]
|
2016-03-08 15:20:15 -05:00
|
|
|
|
2016-03-13 16:17:48 -04:00
|
|
|
include::migrate_5_0/plugins.asciidoc[]
|
2016-03-08 15:20:15 -05:00
|
|
|
|
2016-04-08 06:18:02 -04:00
|
|
|
include::migrate_5_0/fs.asciidoc[]
|