Update host.asciidoc

This bit me when I changed from the string parameter to a regular parameter.
This commit is contained in:
Todd Ogin
2015-01-07 15:22:16 -05:00
parent 5e5b7e12ea
commit 8c251588b5

View File

@ -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;
}
});
-----
-----