infinilabs / analysis-ik

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

Plugin [analysis-ik] was built for Elasticsearch version 7.14.0 but version 7.14.1 is running #907

Open siyangsihai opened 3 years ago

siyangsihai commented 3 years ago

是需要2个版本保持一致吗

zh7314 commented 3 years ago

这种版本不匹配的情况,只能重装Elasticsearch的低版吗?

zh7314 commented 3 years ago

这种版本不匹配的情况,只能重装Elasticsearch的低版吗?

suktec commented 3 years ago

自己编译一个,就四条命令

mingtianshi commented 3 years ago

我想知道Could not find artifact org.elasticsearch:elasticsearch:pom:7.14.0-SNAPSHOT in oss.sonatype.org (http://oss.sonatype.org/content/repositories/releases/) 如何获取到elasticsearch:pom:7.14.0-SNAPSHOT

sandiandian commented 2 years ago

@suktec 可以详细说一下步骤么,我对java 不太熟

suktec commented 2 years ago

@suktec 可以详细说一下步骤么,我对java 不太熟

2.如何手动安装?

git clone https://github.com/medcl/elasticsearch-analysis-ik cd elasticsearch-analysis-ik git checkout tags/{version} mvn clean mvn compile mvn package 拷贝和解压release下的文件: #{project_path}/elasticsearch-analysis-ik/target/releases/elasticsearch-analysis-ik-*.zip 到你的 elasticsearch 插件目录, 如: plugins/ik 重启elasticsearch

你先按照这个操作一遍,看看卡哪里

01emm commented 2 years ago

版本相近的话,可以修改plugin-descriptor.properties里的版本号,还有elasticsearch-analysis-ik-xxx.jar内pom.properties里的版本号。

Andy0526 commented 1 year ago

最简单的方案就是找到和es_version 版本对应的版本下载就可以了。