elasticsearch 6.2.3安装ik分词

下载 zip文件 上传到服务器

https://github.com/medcl/elasticsearch-analysis-ik/releases 

 

unzip elasticsearch-analysis-ik-6.2.3.zip 

移动到 plugin目录 命名为ik

 

 

1.download or compile

  • optional 1 - download pre-build package from here: https://github.com/medcl/elasticsearch-analysis-ik/releases

    unzip plugin to folder your-es-root/plugins/

  • optional 2 - use elasticsearch-plugin to install ( version > v5.5.1 ):

    ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.2.3/elasticsearch-analysis-ik-6.2.3.zip

2.restart elasticsearch

使用第二种方法安装后 

sudo chmod 777 -R /usr/local/es  否则没权限

 

posted @ 2018-04-09 15:30  brady-wang  阅读(494)  评论(0编辑  收藏  举报