From 8c251588b530acebf2e774f6ad2ee80a00152781 Mon Sep 17 00:00:00 2001 From: Todd Ogin Date: Wed, 7 Jan 2015 15:22:16 -0500 Subject: [PATCH] Update host.asciidoc This bit me when I changed from the string parameter to a regular parameter. --- docs/host.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/host.asciidoc b/docs/host.asciidoc index bbe5f5f27..98bc353c8 100644 --- a/docs/host.asciidoc +++ b/docs/host.asciidoc @@ -15,7 +15,7 @@ Params can either be URL string, or an object with the following properties Default ::: `"localhost"` `port`:: -`Number` -- The port number to use for this host +`Number` -- The port number to use for this host. Note the default of 9200 is only true if the params are passed as an object. If a string, then default port is evaluated based on the protocol (`80` for http, `443` for https). Default ::: `9200` @@ -102,4 +102,4 @@ var client = new elasticsearch.Client({ return selection; } }); ------ \ No newline at end of file +-----