org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep

 

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.]

 如图:

org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep_第1张图片

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

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

 

你可能感兴趣的:(org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=illegal_argument_excep)