ElasticSearch插件SearchGuard/IK安装

1.Search Guard(安全认证)

切换到elasticsearch目录,通过使用elasticsearch plugin命令安装Search Guard插件

1
./bin/elasticsearch-plugin install -b com.floragunn:search-guard-6:<version>

参数参考: https://github.com/floragunncom/search-guard/wiki

1
例:./bin/elasticsearch-plugin install -b com.floragunn:search-guard-6:6.6.2-24.2

  1. IK分词器

切换到elasticsearch目录,通过使用elasticsearch plugin命令安装IK插件

1
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v<version>/elasticsearch-analysis-ik-<version>.zip

参数参考: https://github.com/medcl/elasticsearch-analysis-ik/releases

1
例:./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.6.2/elasticsearch-analysis-ik-6.6.2.zip

相关文章

评论系统未开启,无法评论!