赞
踩
所需文件均在我上传的资源中可以找到,并且版本匹配好的
资源下载
端口:http://127.0.0.1:9200/
端口:http://localhost:9100/
启动命令:
启动head:
修改配置文件:E:\pythonStudy\elasticsearch-rtf-master\config下的elasticsearch.yml
添加:
- http.cors.enabled: true
- http.cors.allow-origin: "*"
- http.cors.allow-methods: OPTIONS,HEAD,GET,POST,PUT,DELETE
- http.cors.allow-headers: "X-Requested-With,Content-Type,Content-Length,X-User"
切记冒号后面要有空格:
否则无法启动且报错:
Exception in thread "main"ElasticsearchParseException[malformed, expected settings to start with 'o
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。