windows环境下elasticsearch分词器elasticsearch-analysis-ik安装

1.进入 elasticsearch安装目录执行下面命令(只支持 v5.5.1以上)

elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.5.3/elasticsearch-analysis-ik-5.5.3.zip

2.进入 elasticsearch安装目录,新建elasticsearch/plugins/ik文件夹

https://github.com/medcl/elasticsearch-analysis-ik/releases 找到对应的版本下载zip包,然后放入上面目录

重启elasticsearch就可以了

你可能感兴趣的:(windows环境下elasticsearch分词器elasticsearch-analysis-ik安装)