配置config目录下的 elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
#分布安装、主节点
cluster.name: wali
node.name: master
node.master: true
network.host: 127.0.0.1http.cors配置config目录下的 elasticsearch.yml
http.cors.enabled: true
http.cors.allow-origin: "*"
#分布安装、主节点
cluster.name: wali
node.name: master
node.master: true
network.host: 127.0.0.1http.cors