IK分词器
版本一定要与es对应!!!
下载地址:
https://github.com/medcl/elasticsearch-analysis-ik/releases?after=v6.8.0
解压到
启动参考:
https://www.cnblogs.com/toov5/p/11361413.html
启动:
docker run -e ES_JAVA_OPTS="-Xms256m -Xmx256m" -d -p 9200:9200 -p 9300:9300 -p 5601:5601 -v /home/es/config/es1.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /home/es/plugins1:/usr/share/elasticsearch/plugins -v /home/es/data1:/usr/share/elasticsearch/data --name ES01 elasticsearch