最近在安装Elasticsearch-7.14.1时(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!
![在这里插入图片描述](https://img-blog.csdnimg.cn/8c901d33c92c47c7a37162b3bc799c28.png?x-oss-process=image/watermark,type_ZHJvaWRzYW5zZmFsbGJhY2s,shadow_50,text_Q1NETiBA57qi6JOd5qGD5Y-25ZCb,size_20,color_FFFFFF,t_70,g_se,x_16
推荐阅读:elastic search搜索引擎实战demo:https://github.com/simonsfan/springboot-quartz-demo,分支:feature_es
推荐阅读:使用quartz实现定制化定时任务(包含管理界面)
————————————————
版权声明:本文为CSDN博主「饭一碗」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/fanrenxiang/article/details/81358332