ikanalyzer中文分词器下载

 
elasticsearch的不同版本不能直接升级,不同版本之间的特性不一致
 
目前elasticsearch的6.2.4,因此必须寻ik中文分词器对应的6.2.4版本
 
如果下载的是非可执行文件版本,需要自己使用mvn编译生成可执行文件
 
yum install unzip
 
unzip  xxx.tar
 
cd  xxx
 
mvn install -Dmaven.test.skip=true
 
编译过程中,mvn会从网络上下载很多依赖包,以完成编译工作
 
 
 
 
 
将编译后的内容复制到elasticsearch中
在elasticsearch/plungin下新建ik文件夹
 
 
cd target/release
 
unzip yyyy.zip
 
 
 
 
 
 
 
 
 
 
posted @ 2020-12-19 22:23  dos_hello_world  阅读(506)  评论(0)    收藏  举报