mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Add note to docs on duplicate keys in config
This commit adds a note to the migration docs that duplicate keys in the configuration file are no longer permitted. Relates #24022
This commit is contained in:
parent
37aadb2adf
commit
669fcd05e6
@ -1,6 +1,32 @@
|
|||||||
[[breaking_60_settings_changes]]
|
[[breaking_60_settings_changes]]
|
||||||
=== Settings changes
|
=== Settings changes
|
||||||
|
|
||||||
|
==== Duplicate keys in configuration file
|
||||||
|
|
||||||
|
In previous versions of Elasticsearch, the configuration file was allowed to
|
||||||
|
contain duplicate keys. For example:
|
||||||
|
|
||||||
|
[source,yaml]
|
||||||
|
--------------------------------------------------
|
||||||
|
node:
|
||||||
|
name: my-node
|
||||||
|
|
||||||
|
node
|
||||||
|
attr:
|
||||||
|
rack: my-rack
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
|
In Elasticsearch 6.0.0, this is no longer permitted. Instead, this must be
|
||||||
|
specified in a single key as:
|
||||||
|
|
||||||
|
[source,yaml]
|
||||||
|
--------------------------------------------------
|
||||||
|
node:
|
||||||
|
name: my-node
|
||||||
|
attr:
|
||||||
|
rack: my-rack
|
||||||
|
--------------------------------------------------
|
||||||
|
|
||||||
==== Coercion of boolean settings
|
==== Coercion of boolean settings
|
||||||
|
|
||||||
Previously, Elasticsearch recognized the strings `true`, `false`, `on`, `off`, `yes`, `no`, `0`, `1` as booleans. Elasticsearch 6.0
|
Previously, Elasticsearch recognized the strings `true`, `false`, `on`, `off`, `yes`, `no`, `0`, `1` as booleans. Elasticsearch 6.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user