migrate_5_0.asciidoc 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. [[breaking-changes-5.0]]
  2. == Breaking changes in 5.0
  3. This section discusses the changes that you need to be aware of when migrating
  4. your application to Elasticsearch 5.0.
  5. [float]
  6. === Indices created before 5.0
  7. Elasticsearch 5.0 can read indices created in version 2.0 and above. If any
  8. of your indices were created before 2.0 you will need to upgrade to the
  9. latest 2.x version of Elasticsearch first, in order to upgrade your indices or
  10. to delete the old indices. Elasticsearch will not start in the presence of old
  11. indices. To upgrade 2.x indices, first start a node which have access to all
  12. the data folders and let it upgrade all the indices before starting up rest of
  13. the cluster.
  14. [IMPORTANT]
  15. .Reindex indices from Elasticseach 1.x or before
  16. =========================================
  17. Indices created in Elasticsearch 1.x or before will need to be reindexed with
  18. Elasticsearch 2.x in order to be readable by Elasticsearch 5.x. The easiest
  19. way to do this is to upgrade to Elasticsearch 2.3 or later and to use the
  20. `reindex` API.
  21. =========================================
  22. [float]
  23. === Also see:
  24. * <<breaking_50_search_changes>>
  25. * <<breaking_50_mapping_changes>>
  26. * <<breaking_50_percolator>>
  27. * <<breaking_50_suggester>>
  28. * <<breaking_50_index_apis>>
  29. * <<breaking_50_settings_changes>>
  30. * <<breaking_50_allocation>>
  31. * <<breaking_50_http_changes>>
  32. * <<breaking_50_rest_api_changes>>
  33. * <<breaking_50_cat_api>>
  34. * <<breaking_50_java_api_changes>>
  35. * <<breaking_50_packaging>>
  36. * <<breaking_50_plugins>>
  37. * <<breaking_50_fs>>
  38. * <<breaking_50_aggregations_changes>>
  39. * <<breaking_50_scripting>>
  40. include::migrate_5_0/search.asciidoc[]
  41. include::migrate_5_0/mapping.asciidoc[]
  42. include::migrate_5_0/percolator.asciidoc[]
  43. include::migrate_5_0/suggest.asciidoc[]
  44. include::migrate_5_0/index-apis.asciidoc[]
  45. include::migrate_5_0/settings.asciidoc[]
  46. include::migrate_5_0/allocation.asciidoc[]
  47. include::migrate_5_0/http.asciidoc[]
  48. include::migrate_5_0/rest.asciidoc[]
  49. include::migrate_5_0/cat.asciidoc[]
  50. include::migrate_5_0/java.asciidoc[]
  51. include::migrate_5_0/packaging.asciidoc[]
  52. include::migrate_5_0/plugins.asciidoc[]
  53. include::migrate_5_0/fs.asciidoc[]
  54. include::migrate_5_0/aggregations.asciidoc[]
  55. include::migrate_5_0/scripting.asciidoc[]