最近准备学习es当前最新的7.7版本,但是打开es时出现闪退情况,百度到通过cmd打开可以解决
。
虽然没有再出现闪退,但是报了以下错误
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]
百度这个报错信息得到解决方法:
打开在es的解压目录下的config文件夹下的elasticsearch.yml,在里面加入以下代码
xpack.ml.enabled: false
重启bat后访问localhost:9200成功访问