python操作es报错,内容如下:Err: "the client noticed that the server is not Elasticsearch and we do not support this unknown product"
原因:就是python使用pip下载的es版本不对
解决:
- 首先查看es的版本:
http://ip:port
,version中的number就是es的版本 - 下载对应版本的es:
pip install elasticsearch==****
版权声明:本文为terk1790原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。