下载elasticsearch-analysis-ik
进入elasticsearch安装目录
#cd /usr/local/elasticsearch-7.3.0/
上传并解压elasticsearch-analysis-ik-7.3.0.zip
#mkdir -p /usr/local/elasticsearch-7.3.0/plugins/ik
#unzip /home/es/elasticsearch-analysis-ik-7.3.0.zip -d /usr/local/elasticsearch-7.3.0/plugins/ik
重启elasticsearch,插件会自动扫描到并生效
#bin/elasticsearch
验证是否安装成功
curl 127.0.0.1:9200/_cat/plugins
网友评论