added notes to the API docs regarding the two API versions, and a warning to the config docs. Also updated the client tests to work with the new default

This commit is contained in:
Spencer Alger
2014-01-17 15:50:06 -07:00
parent babc7bacea
commit 90aa185711
6 changed files with 51 additions and 15 deletions

View File

@ -45,10 +45,13 @@ Default in Node:::
`apiVersion`[[config-api-version]]:: `String` -- Change the API that they client provides, specify the major version of the Elasticsearch nodes you will be connecting to.
Default ::: `"master"`
WARNING: This default will track the latest version of Elasticsearch, and is only intended to be used durring develoopment. It is highly recommended that you set this parameter in all code that is headed to production.
Default ::: `"0.90"`
Options :::
* `"master"`
* `"1.0"`
* `"0.90"`