tuk
tuk

Reputation: 6872

Is elasticsearch java client backward compatible with server?

Can someone let me know if elasticsearch java client 2.4..x backward compatible with elasticsearch server 2.3.1?

I couldn't locate this information anywhere in elasticsearch docs.

Upvotes: 0

Views: 3887

Answers (1)

moictab
moictab

Reputation: 959

As stated in this link:

https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/client.html

The client must have the same major version (e.g. 2.x, or 5.x) as the 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 functionality may not be supported. Ideally, the client should have the same version as the cluster.

they are compatible. However, the ideal scenario is that both client and nodes are in the same version.

Upvotes: 3

Related Questions