一、下载
https://github.com/infinilabs/analysis-ik/releases/tag/v7.12.1
将文件解压,复制到docker挂载的目录
bash
docker ps
#重启docker
docker restart f7ec58e91f1f
测试
bash
GET _analyze?pretty
{
"analyzer": "ik_max_word",
"text": "深圳宝安区"
}