1,安装ik
进入elastic目录
$ cd /usr/elasticsearth5.5.1
$ ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v5.5.1/elasticsearch-analysis-ik-5.5.1.zip
安装完成后
重新启动elastic就可以生效