摘要:
操作环境:win10+elasticsearch7.11.1 ,springboot2.1.8+elasticsearch6.7.1客户端 elasticsearch版本是向下兼容的,也就是elasticsearch安装的版本比较高,使用springboot连接ES时,版本低一些也是可以正常使用的 阅读全文
摘要:
在elasticsearch的配置文件,添加如下配置 # xpack use config cluster.initial_master_nodes: ["node-1"] http.cors.allow-headers: Authorization,Content-Type xpack.secur 阅读全文