简体   繁体   English

Elasticsearch 2.2客户端库可以与旧版本的Elasticsearch 1.3一起使用吗

[英]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.

相关问题 安装旧版本的Elasticsearch - Installing older version of Elasticsearch 我可以在旧版本的Elasticsearch上使用新版本的Java高级别Rest客户端吗? - Can I use newer version of java high level rest client on an older version of elasticsearch? Elasticsearch NEST客户端库 - Elasticsearch NEST client library Elasticsearch:在较旧版本上有效,但在较新版本上无效 - Elasticsearch: upsert working on older version but not on newer version 如何从elasticsearch检索旧版本文档? - How to retrieve older version document from elasticsearch? Elasticsearch with Rails-在2.2版本中映射`_all`字段 - Elasticsearch with Rails - mapping `_all` field in 2.2 version 反应式 Kafka 接收器可以与非反应式 Elasticsearch 客户端一起使用吗? - Can Reactive Kafka Receiver work with non-reactive Elasticsearch client? Spring-data-elasticsearch vs elasticsearch RestHighLevelClient 客户端库 - Spring-data-elasticsearch vs elasticsearch RestHighLevelClient client library 如何将正在运行的 Elasticsearch 旧实例升级到新版本? - How to upgrade a running Elasticsearch older instance to a newer version? 如何从Elasticsearch Index 2.2版中删除所有类型的文档 - How to remove all documents of type from elasticsearch index version 2.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM