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:
@ -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"`
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user