infinilabs / analysis-ik

🚌 The IK Analysis plugin integrates Lucene IK analyzer into Elasticsearch and OpenSearch, support customized dictionary.
Apache License 2.0
16.58k stars 3.27k forks source link

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

Closed shimanongfu closed 1 month ago

shimanongfu commented 1 year ago

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

zupermanOK commented 1 year ago

image 是不是没有创建文件夹

wuwenbao commented 1 year ago

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

xiunchen commented 1 year ago

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

用这个方式安装

sincebyte commented 1 year ago

hi guys? 有解决方案了?

sincebyte commented 1 year ago

./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 commented 1 year ago

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

sorry , it do not work

sincebyte commented 1 year ago

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

mingchiuli commented 1 year ago

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

skyliwq commented 11 months ago

同样问题 有解决的方法吗

zyqwst commented 9 months ago

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

FeiTlng commented 9 months ago

文件目录结构的问题,压缩包解压出来多了一层,把里面的文件全部移到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.

jsczymm commented 6 months ago

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