es报错:org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_exception, reason=Types cannot be provided in put mapping requests, unless the include_type_name parameter is set to true.]

 如图:

springboot整合es时有对应的版本要求:参考博客https://blog.csdn.net/hzs33/article/details/106094291

 解决办法:安装与springBoot对应的es的版本问题解决

 

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐