下载地址 https://www.elastic.co/cn/downloads/elasticsearch
1.修改yml文件
http.cors.enabled: true
http.cors.allow-origin: "*"
2.bin目录下,elaticsearch.bat文件启动
3.bin目录下 cmd 执行 elasticsearch-setup-passwords interactive
输入密码123456 4.访问http://localhost:9200/ user:elastic password:123456
5.批量新增 ,数据脚本来源于es官网的account.jsonaccount.json下载地址