安装
brew 安装
// 删除已有的文件
brew install elasticsearch@6
brew install kibana@6
brew services start rabbitmq@6
brew services start elasticsearch@6
安装路径与日志路径:/usr/local/etc/elasticsearch
/usr/local/var/log
安装插件
在 elasticsearch 执行文件目录下执行。
sql 转 es query 插件 elasticsearch-sql:
https://github.com/NLPchina/elasticsearch-sql
./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/6.8.11.0/elasticsearch-sql-6.8.11.0.zip
ik 分词器插件:
./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.8.11/elasticsearch-analysis-ik-6.8.11.zip