建立Elasticsearch_ik中文分词器

1.download or compile

optional 1 - download pre-build package from here: https://github.com/medcl/elas...

create plugin folder

cd your-es-root/plugins/ && mkdir ik

unzip plugin to folder

your-es-root/plugins/ik

optional 2 - use elasticsearch-plugin to install ( supported from version v5.5.1 ):

./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.3.0/elasticsearch-analysis-ik-6.3.0.zip

NOTE: replace 6.3.0 to your own elasticsearch version

2.restart elasticsearch

你可能感兴趣的:(elasticsearch)