安装es-header插件

方法1:安装谷歌浏览器拓展程序ElasticSearch Head

方法2:

git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start

open http://localhost:9100/

vim elasticserach.yml
http.cors.enabled:true
http.cors.allow-origin:"*"

重启ES

你可能感兴趣的:(elasticsearch)