最近在安装Elasticsearch-6.3.2时(windows平台),启动Elasticsearch,点击bin/elasticsearch.bat,启动报错:
ElasticsearchException[X-Pack is not supported and Machine Learning is not available for [windows-x86]; you can use the other X-Pack features (unsupported) by setting xpack.ml.enabled: false in elasticsearch.yml]
解决:在config/elasticsearch.yml
添加一条配置:
xpack.ml.enabled: false
重新启动,浏览器访问127.0.0.1:9200,ok!
推荐阅读:elastic search搜索引擎实战demo:https://github.com/simonsfan/springboot-quartz-demo,分支:feature_es