​​

 

交互式进入容器



docker exec -it elasticsearch bash


 

安装 IK



./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v7.13.4/elasticsearch-analysis-ik-7.13.4.zip


 

重启 ES



docker restart elasticsearch


 

查看 plugin



curl http://localhost:9200/_cat/plugins


 

Reference

​https://github.com/medcl/elasticsearch-analysis-ik/releases/tag/v7.13.4​