Elasticsearch安装IK分词器

Elasticsearch IK分词器软件下载地址:https://github.com/medcl/elasticsearch-analysis-ik/releases

 

1)在elasticsearch的安装目录下/plugins创建ik
cd /usr/local/elasticsearch/elasticsearch-7.11.1/plugins/

mkdir ik

 

2)上传软件包到/usr/local/elasticsearch/elasticsearch-7.11.1/plugins/ik并解压到该目录

cd /usr/local/elasticsearch/elasticsearch-7.11.1/plugins/ik

unzip elasticsearch-analysis-ik-7.11.1.zip

 

3)重启Elasticsearch

posted @ 2021-03-02 16:48  非凡起航  阅读(117)  评论(0编辑  收藏  举报