settings.asciidoc 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. [[breaking_60_settings_changes]]
  2. === Settings changes
  3. ==== Remove support for elasticsearch.json and elasticsearch.yaml configuration file
  4. The configuration file found in the Elasticsearch config directory could previously have
  5. a `.yml`, `.yaml` or `.json` extension. Only `elasticsearch.yml` is now supported.
  6. ==== Duplicate keys in configuration file
  7. In previous versions of Elasticsearch, the configuration file was allowed to
  8. contain duplicate keys. For example:
  9. [source,yaml]
  10. --------------------------------------------------
  11. node:
  12. name: my-node
  13. node
  14. attr:
  15. rack: my-rack
  16. --------------------------------------------------
  17. In Elasticsearch 6.0.0, this is no longer permitted. Instead, this must be
  18. specified in a single key as:
  19. [source,yaml]
  20. --------------------------------------------------
  21. node:
  22. name: my-node
  23. attr:
  24. rack: my-rack
  25. --------------------------------------------------
  26. ==== Coercion of boolean settings
  27. Previously, Elasticsearch recognized the strings `true`, `false`, `on`, `off`, `yes`, `no`, `0`, `1` as booleans. Elasticsearch 6.0
  28. recognizes only `true` and `false` as boolean and will throw an error otherwise. For backwards compatibility purposes, during the 6.x series
  29. index settings on pre-6.0 indices will continue to work. Note that this does not apply to node-level settings that are stored
  30. in `elasticsearch.yml`.
  31. ==== Snapshot settings
  32. The internal setting `cluster.routing.allocation.snapshot.relocation_enabled` that allowed shards with running snapshots to be reallocated to
  33. different nodes has been removed. Enabling this setting could cause allocation issues if a shard got allocated off a node and then
  34. reallocated back to this node while a snapshot was running.
  35. ==== Store throttling settings
  36. Store throttling has been removed. As a consequence, the
  37. `indices.store.throttle.type` and `indices.store.throttle.max_bytes_per_sec`
  38. cluster settings and the `index.store.throttle.type` and
  39. `index.store.throttle.max_bytes_per_sec` index settings are not
  40. recognized anymore.
  41. ==== Store settings
  42. The `default` `index.store.type` has been removed. If you were using it, we
  43. advise that you simply remove it from your index settings and Elasticsearch
  44. will use the best `store` implementation for your operating system.
  45. ==== Network settings
  46. The blocking TCP client, blocking TCP server, and blocking HTTP server have been removed.
  47. As a consequence, the `network.tcp.blocking_server`, `network.tcp.blocking_client`,
  48. `network.tcp.blocking`,`transport.tcp.blocking_client`, `transport.tcp.blocking_server`,
  49. and `http.tcp.blocking_server` settings are not recognized anymore.
  50. ==== Similarity settings
  51. The `base` similarity is now ignored as coords and query normalization have
  52. been removed. If provided, this setting will be ignored and issue a
  53. deprecation warning.
  54. ==== Script Settings
  55. All of the existing scripting security settings have been removed. Instead
  56. they are replaced with `script.allowed_types` and `script.allowed_contexts`.
  57. ==== Discovery Settings
  58. The `discovery.type` settings no longer supports the values `gce`, `aws` and `ec2`.
  59. Integration with these platforms should be done by setting the `discovery.zen.hosts_provider` setting to
  60. one of those values.