elasticsearch - 如何将 Elasticsearch 从1.7.x升级到7.0?

标签 elasticsearch elastic-stack elk

我需要一个将 flex 搜索从所有数据和报告从1.7.6升级/迁移到7.0的解决方案。有什么办法吗?

提前致谢。

最佳答案

您必须安装 flex 搜索7.0,然后再次为数据重新编制索引。

您不能只将 flex 搜索1.7的旧索引迁移到 flex 搜索7.0。

Elasticsearch can read indices created in the previous major version. If you have indices created in 5.x or before, you must reindex or delete them before upgrading to 7.1.1. Elasticsearch nodes will fail to start if incompatible indices are present. Snapshots of 5.x or earlier indices cannot be restored to a 7.x cluster even if they were created by a 6.x cluster.



Refer elastic search documentation

关于elasticsearch - 如何将 Elasticsearch 从1.7.x升级到7.0?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56675713/

相关文章:

java - 如何从 Java 应用程序中运行 elasticsearch 5.1 服务器(不通过命令行)

elasticsearch - 在 Elasticsearch 中添加文档时 PUT 与 POST

elasticsearch - 如何在ElasticSearch中进行完全匹配查询?

elasticsearch - Elasticsearch子字符串必须包含在字段中

elasticsearch - 使用省略的Elasticsearch索引

elasticsearch - 如何停止心跳服务而不是使用 kill 命令?

linux - 将带有文件拍子的日志发送到logstash

logstash - 通过 http 发送 filebeat 输出

docker - 在Docker上运行ELK堆栈

elasticsearch - 如何使用logstash和filebeat过滤日志文件