关于elasticsearch:建立Elasticsearchik中文分词器

41次阅读

共计 469 个字符,预计需要花费 2 分钟才能阅读完成。

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

正文完
 0