Elasticsearch6.1.1安装ik和pinyin插件

作者: admin 分类: Elasticsearch 发布时间: 2018-01-22 22:55

前提条件

(1)Elasticsearch已经安装完毕

(2)ik下载地址:https://github.com/medcl/elasticsearch-analysis-ik/releases

(3)pinyin下载地址:https://github.com/medcl/elasticsearch-analysis-pinyin/releases/download/v6.1.1/elasticsearch-analysis-pinyin-6.1.1.zip

安装插件

(1)ik插件安装

[elastic@localhost bin]$ ./elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.1.1/elasticsearch-analysis-ik-6.1.1.zip
-> Downloading https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.1.1/elasticsearch-analysis-ik-6.1.1.zip
[=================================================] 100%   
-> Installed analysis-ik

(1)pinyin插件安装

[elastic@localhost bin]$ ./elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-pinyin/releases/download/v6.1.1/elasticsearch-analysis-pinyin-6.1.1.zip
-> Downloading https://github.com/medcl/elasticsearch-analysis-pinyin/releases/download/v6.1.1/elasticsearch-analysis-pinyin-6.1.1.zip
[=================================================] 100%   
-> Installed analysis-pinyin

发表评论

电子邮件地址不会被公开。 必填项已用*标注