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