analysis-ik icon indicating copy to clipboard operation
analysis-ik copied to clipboard

本地环境正常,docker 环境下报错,Plugin [elasticsearch-analysis-ik-8.8.2] is missing a descriptor properties file

Open shimanongfu opened this issue 2 years ago • 12 comments

本地环境与docker image都是8.8.2,本地环境可正常加载ik插件,docker下报错。

shimanongfu avatar Jul 10 '23 07:07 shimanongfu

image 是不是没有创建文件夹

zupermanOK avatar Jul 12 '23 03:07 zupermanOK

加入 -b 参数试试 bin/elasticsearch-plugin install -b

wuwenbao avatar Jul 13 '23 10:07 wuwenbao

./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v8.8.2/elasticsearch-analysis-ik-8.8.2.zip

用这个方式安装

xiunchen avatar Aug 21 '23 11:08 xiunchen

hi guys? 有解决方案了?

sincebyte avatar Sep 04 '23 03:09 sincebyte

./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v8.8.2/elasticsearch-analysis-ik-8.8.2.zip

用这个方式安装

do not work

sincebyte avatar Sep 04 '23 03:09 sincebyte

加入 -b 参数试试 bin/elasticsearch-plugin install -b

sorry , it do not work

sincebyte avatar Sep 04 '23 03:09 sincebyte

./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v8.8.2/elasticsearch-analysis-ik-8.8.2.zip

用这个方式安装

sorry , do not work neither

sincebyte avatar Sep 04 '23 03:09 sincebyte

插件文件夹权限问题chomd 755 * -R

mingchiuli avatar Nov 05 '23 09:11 mingchiuli

同样问题 有解决的方法吗

skyliwq avatar Nov 29 '23 07:11 skyliwq

我使用的docker compose管理es集群,遇到了同样的问题。直到我把ik分词器zip解压并拷贝到plugins下,启动正常了。实事证明使用离线方式安装压缩包插件不太行,并且要注意的是,在plugins下不能有隐藏文件,例如MacOS下的.DS_Store

zyqwst avatar Jan 19 '24 11:01 zyqwst

文件目录结构的问题,压缩包解压出来多了一层,把里面的文件全部移到plugins/ik下就行了 There is a problem with the file directory structure. After the zip package is unzipped, there is an extra layer. Just move all files inside to plugins/ik.

FeiTlng avatar Feb 03 '24 09:02 FeiTlng

下载zip包,zip包和其他包的文件不一样,只有zip包里有descriptor配置文件,在plugin包下新建ik文件夹,把解压的文件放进去

jsczymm avatar Apr 24 '24 09:04 jsczymm