Docs: YAML mappings use colons, not equals sign

Closes #6750
This commit is contained in:
Naoki Orii 2014-07-05 23:58:34 -07:00 committed by Clinton Gormley
parent d857a08cb0
commit e662d3c535
1 changed files with 3 additions and 3 deletions

View File

@ -54,12 +54,12 @@ different clusters by simply setting the `cluster.name` setting, or
explicitly using the `clusterName` method on the builder.
You can define `cluster.name` in the `/src/main/resources/elasticsearch.yml`
dir in your project. As long as `elasticsearch.yml` is present in the
file in your project. As long as `elasticsearch.yml` is present in the
classpath, it will be used when you start your node.
[source,java]
[source,yaml]
--------------------------------------------------
cluster.name=yourclustername
cluster.name: yourclustername
--------------------------------------------------
Or in Java: