Docker容器里Elasticsearch 没安装 IK

针对Docker容器内的Elasticsearch未安装IK插件问题,本文提供了解决方案:检查容器内ES插件状态,进入容器,将IK插件复制到指定路径,并重启容器。
摘要由CSDN通过智能技术生成

Docker容器里Elasticsearch 没安装 IK

    * Caused by: org.elasticsearch.client.ResponseException: method[PUT], host[http: //192.168.200.128:9200], URI [/goods/_mapping/info?master_timeout=30s&include_type_name=true&timeout=30s], status line [HTTP/1.1 400 Bad Request]
		Warnings: [
			[types removal] Specifying types in put mapping requests is deprecated.To be compatible with 7.0, the mapping definition should not be nested under the type name, and the parameter include_type_name must be provided and set to false.
		] {
			"error": {
				"root_cause": [{
					"type": "mapper_parsing_exception",
					"reason": "analyzer [ik_max_word] not found for field [title]"
				}],
				"type": "mapper_parsing_exception",
				"reason": "analyzer [ik_max_word] not found for field [title]"
			},
			"status": 400
			

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值