在官网下载Elastic Stack6.3.0的解压版,直接运行elasticsearch.bat之后运行一段后就会闪退,尝试使用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]
字面意思就是X-Pack不受我当前的win系统支持,需要在***elasticsearch.yml***文件中加入一段代码***xpack.ml.enabled: false***
***elasticsearch.yml***在我们\elasticsearch-6.3.0\config目录下,打开后直接在末尾加上这段代码即可
xpack.ml.enabled: false
再次运行问题解决