migrate_8_0.asciidoc 4.4 KB

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