Updated Java API docs with version recommendations

Closes #15188
This commit is contained in:
Clinton Gormley 2016-03-10 14:09:04 +01:00
parent 6b4a6be2df
commit 4219f8e062
1 changed files with 10 additions and 6 deletions

View File

@ -12,12 +12,16 @@ Obtaining an elasticsearch `Client` is simple. The most common way to
get a client is by creating a <<transport-client,`TransportClient`>> get a client is by creating a <<transport-client,`TransportClient`>>
that connects to a cluster. that connects to a cluster.
*Important:* [IMPORTANT]
______________________________________________________________________________________________________________________________________________________________ ==============================
Please note that you are encouraged to use the same version on client
and cluster sides. You may hit some incompatibility issues when mixing The client must have the same major version (e.g. `2.x`, or `5.x`) as the
major versions. nodes in the cluster. Clients may connect to clusters which have a different
______________________________________________________________________________________________________________________________________________________________ minor version (e.g. `2.3.x`) but it is possible that new funcionality may not
be supported. Ideally, the client should have the same version as the
cluster.
==============================
[[transport-client]] [[transport-client]]