migrate_8_0.asciidoc 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. [[migrating-8.0]]
  2. == Migrating to 8.0
  3. ++++
  4. <titleabbrev>8.0</titleabbrev>
  5. ++++
  6. This section discusses the changes that you need to be aware of when migrating
  7. your application to {es} 8.0.
  8. See also <<release-highlights>> and <<es-release-notes>>.
  9. coming[8.0.0]
  10. * <<breaking_80_aggregations_changes>>
  11. * <<breaking_80_allocation_changes>>
  12. * <<breaking_80_analysis_changes>>
  13. * <<breaking_80_breaker_changes>>
  14. * <<breaking_80_cluster_changes>>
  15. * <<breaking_80_discovery_changes>>
  16. * <<breaking_80_eql_changes>>
  17. * <<breaking_80_http_changes>>
  18. * <<breaking_80_ilm_changes>>
  19. * <<breaking_80_indices_changes>>
  20. * <<breaking_80_java_changes>>
  21. * <<breaking_80_mappings_changes>>
  22. * <<breaking_80_network_changes>>
  23. * <<breaking_80_node_changes>>
  24. * <<breaking_80_packaging_changes>>
  25. * <<breaking_80_reindex_changes>>
  26. * <<breaking_80_api_changes>>
  27. * <<breaking_80_rollup_changes>>
  28. * <<breaking_80_search_changes>>
  29. * <<breaking_80_security_changes>>
  30. * <<breaking_80_settings_changes>>
  31. * <<breaking_80_snapshots_changes>>
  32. * <<breaking_80_threadpool_changes>>
  33. * <<breaking_80_transport_changes>>
  34. [discrete]
  35. [[breaking-changes-8.0]]
  36. === Breaking changes
  37. The following changes in {es} 8.0 might affect your applications
  38. and prevent them from operating normally.
  39. Before upgrading to 8.0, review these changes and take the described steps
  40. to mitigate the impact.
  41. NOTE: Breaking changes introduced in minor versions are
  42. normally limited to security and bug fixes.
  43. Significant changes in behavior are deprecated in a minor release and
  44. the old behavior is supported until the next major release.
  45. To find out if you are using any deprecated functionality,
  46. enable <<deprecation-logging, deprecation logging>>.
  47. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  48. //Installation and Upgrade Guide
  49. //tag::notable-breaking-changes[]
  50. .Indices created in {es} 6.x and earlier versions are not supported.
  51. [%collapsible]
  52. ====
  53. *Details* +
  54. Elasticsearch 8.0 can read indices created in version 7.0 or above. An
  55. Elasticsearch 8.0 node will not start in the presence of indices created in a
  56. version of Elasticsearch before 7.0.
  57. *Impact* +
  58. Reindex indices created in {es} 6.x or before with {es} 7.x if they need to be carried forward to {es} 8.x.
  59. ====
  60. .REST API endpoints containing `_xpack` have been removed.
  61. [%collapsible]
  62. ====
  63. *Details* +
  64. In 7.0, we deprecated REST endpoints that contain `_xpack` in their path. These
  65. endpoints are now removed in 8.0. Each endpoint that was deprecated and removed
  66. is replaced with a new endpoint that does not contain `_xpack`. As an example,
  67. `/{index}/_xpack/graph/_explore` is replaced by `/{index}/_graph/explore`.
  68. *Impact* +
  69. Use the replacement REST API endpoints. Requests submitted to the `_xpack`
  70. API endpoints will return an error.
  71. ====
  72. // end::notable-breaking-changes[]
  73. include::migrate_8_0/aggregations.asciidoc[]
  74. include::migrate_8_0/allocation.asciidoc[]
  75. include::migrate_8_0/analysis.asciidoc[]
  76. include::migrate_8_0/breaker.asciidoc[]
  77. include::migrate_8_0/cluster.asciidoc[]
  78. include::migrate_8_0/discovery.asciidoc[]
  79. include::migrate_8_0/eql.asciidoc[]
  80. include::migrate_8_0/http.asciidoc[]
  81. include::migrate_8_0/ilm.asciidoc[]
  82. include::migrate_8_0/indices.asciidoc[]
  83. include::migrate_8_0/java.asciidoc[]
  84. include::migrate_8_0/mappings.asciidoc[]
  85. include::migrate_8_0/network.asciidoc[]
  86. include::migrate_8_0/node.asciidoc[]
  87. include::migrate_8_0/packaging.asciidoc[]
  88. include::migrate_8_0/reindex.asciidoc[]
  89. include::migrate_8_0/api.asciidoc[]
  90. include::migrate_8_0/rollup.asciidoc[]
  91. include::migrate_8_0/search.asciidoc[]
  92. include::migrate_8_0/security.asciidoc[]
  93. include::migrate_8_0/settings.asciidoc[]
  94. include::migrate_8_0/snapshots.asciidoc[]
  95. include::migrate_8_0/threadpool.asciidoc[]
  96. include::migrate_8_0/transport.asciidoc[]
  97. include::migrate_8_0/migrate_to_java_time.asciidoc[]
  98. ////
  99. [discrete]
  100. [[deprecated-8.0]]
  101. === Deprecations
  102. The following functionality has been deprecated in {es} 8.0
  103. and will be removed in 8.0
  104. While this won't have an immediate impact on your applications,
  105. we strongly encourage you take the described steps to update your code
  106. after upgrading to 8.0.
  107. NOTE: Significant changes in behavior are deprecated in a minor release and
  108. the old behavior is supported until the next major release.
  109. To find out if you are using any deprecated functionality,
  110. enable <<deprecation-logging, deprecation logging>>.
  111. ////