From e662d3c5351afea5d91c70d6289cce6e0ea673bd Mon Sep 17 00:00:00 2001 From: Naoki Orii Date: Sat, 5 Jul 2014 23:58:34 -0700 Subject: [PATCH] Docs: YAML mappings use colons, not equals sign Closes #6750 --- docs/java-api/client.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/java-api/client.asciidoc b/docs/java-api/client.asciidoc index d1008a475f4..18953cfffc9 100644 --- a/docs/java-api/client.asciidoc +++ b/docs/java-api/client.asciidoc @@ -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: