标签:中文分词 dock hub analysis docker plugins github 访问 discover
docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -d elasticsearch:7.2.0
cd /usr/share/elasticsearch/plugins/
GitHub原链接
elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.6.4/elasticsearch-analysis-ik-5.6.4.zip
镜像加速下载链接
elasticsearch-plugin install https://hub.fastgit.org/medcl/elasticsearch-analysis-ik/releases/download/v7.2.0/elasticsearch-analysis-ik-7.2.0.zip
重启容器(在主机执行)
docker restart elasticsearch
docker run --name kibana --link=elasticsearch:test -p 5601:5601 -d kibana:7.2.0
docker start kibana
标签:中文分词 dock hub analysis docker plugins github 访问 discover
原文地址:https://www.cnblogs.com/shmebluk/p/13934539.html