【问题标题】:The client noticed that the server is not a supported distribution of Elasticsearch?客户端注意到服务器不是 Elasticsearch 支持的发行版?
【发布时间】:2022-01-22 20:45:21
【问题描述】:

我正在将 elasticsearch(版本 7.10.2)与 python(django 版本 3.0)一起使用,但出现此错误

The client noticed that the server is not a supported distribution of Elasticsearch

在互联网上搜索时,我发现从 7.14 降级弹性搜索的版本对很多人都有效,因为 7.14 版本正在更新一些内部脚本。但就我而言,版本已经低于 7.14。

我使用curl -X GET "HTTP://localhost:9200" 来检查它的版本。 此外,其他此类问题包括与我的案例无关的 NODE、Angular 和其他框架。

我该如何解决这个问题?如果我需要降级,那么我应该降级哪个版本?

【问题讨论】:

    标签: python django elasticsearch


    【解决方案1】:

    我设法使它与小于 7 的 python 客户端版本一起工作,但在我的情况下,它是一个相当旧的 Elasticsearch 版本。

    我已经用安装版本6.8.2pip install -U 'elasticsearch<7'解决了。

    我将尝试更新 Elasticsearch 和 python 客户端并返回更多详细信息。

    【讨论】:

      猜你喜欢
      • 2021-10-16
      • 2021-10-29
      • 1970-01-01
      • 2014-02-28
      • 2016-04-17
      • 1970-01-01
      • 2020-09-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多