[英]Can elasticsearch 2.2 client library work with older version of elasticsearch 1.3
A feature in my project is already using 1.3 of elasticsearch and for new feature the plan is to use ES 2.2 also it is for some reasons that I cannot upgrade existing ES 1.3 to ES 2.2 我项目中的一个功能已经在使用Elasticsearch 1.3,对于新功能,计划使用ES 2.2,由于某些原因,我无法将现有的ES 1.3升级到ES 2.2。
Can one single version of elasticsearch client library (preferably 2.2) work with both versions of ES 1.3 and ES 2.2? 一个单一版本的Elasticsearch客户端库(最好是2.2)可以同时用于ES 1.3和ES 2.2吗?
I know ES has changed a lot of their APIs from 2.0 but curious to know if someone has tried this path. 我知道ES已从2.0更改了许多API,但很想知道是否有人尝试过此方法。
The Java client must be from the same major version of Elasticsearch as the nodes; Java客户端必须与节点来自相同版本的Elasticsearch。 otherwise, they may not be able to understand each other. 否则,他们可能无法相互理解。 https://www.elastic.co/guide/en/elasticsearch/guide/current/_talking_to_elasticsearch.html https://www.elastic.co/guide/zh-CN/elasticsearch/guide/current/_talking_to_elasticsearch.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.