1
0

index-setting-changes.asciidoc 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. [discrete]
  2. [[breaking_80_index_setting_changes]]
  3. ==== Index setting changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. [[deprecate-max-merge-at-once-explicit-setting]]
  8. .`index.merge.policy.max_merge_at_once_explicit` is deprecated and has no effect.
  9. [%collapsible]
  10. ====
  11. *Details* +
  12. The `index.merge.policy.max_merge_at_once_explicit` index setting is deprecated
  13. and has no effect.
  14. Previously, you could specify `index.merge.policy.max_merge_at_once_explicit` to
  15. set the maximum number of segments to merge at the same time during a force
  16. merge or when expunging deleted documents. In 8.0, this number is unlimited,
  17. regardless of the setting.
  18. *Impact* +
  19. Specifying `index.merge.policy.max_merge_at_once_explicit` will have no effect
  20. but will generate deprecation warnings.
  21. To avoid these deprecation warnings, discontinue use of the setting. Don't
  22. specify the setting when creating new indices, and remove the setting from
  23. index and component templates.
  24. To remove the setting from an existing data stream or index, specify the
  25. setting's value as `null` using the update index settings API.
  26. [source,console]
  27. ----
  28. PUT my-index-000001/_settings
  29. {
  30. "index.merge.policy.max_merge_at_once_explicit": null
  31. }
  32. ----
  33. // TEST[setup:my_index]
  34. ====
  35. [[index-max-adjacency-matrix-filters-removed]]
  36. .The `index.max_adjacency_matrix_filters` index setting has been removed.
  37. [%collapsible]
  38. ====
  39. *Details* +
  40. The `index.max_adjacency_matrix_filters` index setting has been removed.
  41. Previously, you could use this setting to configure the maximum number of
  42. filters for the
  43. {ref}/search-aggregations-bucket-adjacency-matrix-aggregation.html[adjacency
  44. matrix aggregation]. The `indices.query.bool.max_clause_count` index setting now
  45. determines the maximum number of filters for the aggregation.
  46. *Impact* +
  47. Discontinue use of the `index.max_adjacency_matrix_filters` index setting.
  48. Requests that include the index setting will return an error. If you upgrade a
  49. cluster with a 7.x index that already contains the setting, {es} will
  50. {ref}/archived-settings.html#archived-index-settings[archive the setting].
  51. Remove the index setting from index and component templates. Attempts to use a
  52. template that contains the setting will fail and return an error. This includes
  53. automated operations, such the {ilm-init} rollover action.
  54. ====
  55. .The `index.force_memory_term_dictionary` setting has been removed.
  56. [%collapsible]
  57. ====
  58. *Details* +
  59. The `index.force_memory_term_dictionary` setting was introduced in 7.0 as a
  60. temporary measure to allow users to opt-out of the optimization that leaves the
  61. term dictionary on disk when appropriate. This optimization is now mandatory
  62. and the setting is removed.
  63. *Impact* +
  64. Discontinue use of the `index.force_memory_term_dictionary` index setting.
  65. Requests that include this setting will return an error.
  66. ====
  67. .The `index.soft_deletes.enabled` setting has been removed.
  68. [%collapsible]
  69. ====
  70. *Details* +
  71. Creating indices with soft deletes disabled was deprecated in 7.6 and
  72. is no longer supported in 8.0. The `index.soft_deletes.enabled` setting
  73. can no longer be set to `false`.
  74. *Impact* +
  75. Discontinue use of the `index.soft_deletes.enabled` index setting. Requests that
  76. set `index.soft_deletes.enabled` to `false` will return an error.
  77. ====
  78. .The `index.translog.retention.age` and `index.translog.retention.size` settings have been removed.
  79. [%collapsible]
  80. ====
  81. *Details* +
  82. Translog retention settings `index.translog.retention.age` and
  83. `index.translog.retention.size` were effectively ignored in 7.4, deprecated in
  84. 7.7, and removed in 8.0 in favor of
  85. {ref}/index-modules-history-retention.html[soft deletes].
  86. *Impact* +
  87. Discontinue use of the `index.translog.retention.age` and
  88. `index.translog.retention.size` index settings. Requests that
  89. include these settings will return an error.
  90. ====
  91. //end::notable-breaking-changes[]