目前,我正在使用客户端 go-elasticsearch 版本v7.8.0和 elastic 版本8.1.2。弹性搜索已从版本更新7.x现在,当我尝试更新文档时,它失败并出现以下错误。我遇到了一些 stackoverflow 的答案,但没有帮助api_platform 产生错误“找不到 uri [/index/_doc/_search] 和方法 [POST] 的处理程序”elasticsearch response on failure while updating- {"error":"no handler found for uri [/<index>/_doc/<doc_id>/_update?retry_on_conflict=2] and method [POST]"更新查询示例:{"doc":{"info":{"description":"test description","slug":"test"}}}
2 回答

繁星点点滴滴
TA贡献1803条经验 获得超3个赞
您不能将 7.8.0 的 Go 客户端与 Elasticsearch 服务器 8.1.2 一起使用,它们不兼容。您需要将您的 Go 客户端升级到相同的 8.1 版本

- 2 回答
- 0 关注
- 143 浏览
添加回答
举报
0/150
提交
取消