解决:ElasticsearchException[X-Pack is not supported and Machine Learning is not available for

最近在安装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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值