插件源码地址:https://github.com/medcl/elasticsearch-analysis-pinyin 下载:https://github.com/medcl/elasticsearch-analysis-pinyin/releases/download/v6.5.4/elasticsearch-analysis-pinyin-6.5.4.zip 将拼音分词的插件解压到指定换目录 下 创建容器的时候指定插件挂载的位置 -v /usr/local/elasticsearch/pinyin:/usr/share/elasticsearch/plugins/pinyin 创建