Elasticsearch-5.4.0安装sql插件

下载环境包

wget https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.0.0/elasticsearch-sql-5.4.0.0.zip

解压后得到elasticsearch文件夹,将该文件夹移动到es安装目录下plugins文件夹下并改名为ik
每个节点都进行上述操作
重启集群

下载jdbc

https://github.com/NLPchina/elasticsearch-sql/pull/283

jdbc连接方式
properties.put("url", "jdbc:elasticsearch://139.196.218.206:9300,139.196.218.205:9300/");

猜你喜欢

转载自blog.csdn.net/m0_37895851/article/details/81199946
今日推荐