摘要: 操作环境:win10+elasticsearch7.11.1 ,springboot2.1.8+elasticsearch6.7.1客户端 elasticsearch版本是向下兼容的,也就是elasticsearch安装的版本比较高,使用springboot连接ES时,版本低一些也是可以正常使用的 阅读全文
posted @ 2021-02-24 15:00 低调码农哥! 阅读(2898) 评论(3) 推荐(0) 编辑
摘要: 在elasticsearch的配置文件,添加如下配置 # xpack use config cluster.initial_master_nodes: ["node-1"] http.cors.allow-headers: Authorization,Content-Type xpack.secur 阅读全文
posted @ 2021-02-24 14:05 低调码农哥! 阅读(385) 评论(0) 推荐(0) 编辑