elasticsearch版本为2.2.0
源码地址:https://github.com/NLPchina/elasticsearch-sql/tree/elastic2.2.0
安装方式有以下三种:
1、按照以上链接说明的方式进行安装
./bin/plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.2.0/elasticsearch-sql-2.2.0.zip
2、下载es-sql插件包,https://github.com/NLPchina/elasticsearch-sql/releases/download/2.2.0/elasticsearch-sql-2.2.0.zip
解压要$ES_HOME/plugins目录下,重命名 mv elasticsearch-sql-2.2.0 sql
重启es集群
3、下载源码,进行打包编译,mvn assembly:assembly -Dmaven.test.skip=true,target目录下生成压缩包elasticsearch-sql-2.2.0.1.zip,
(本人已编译完成,可以直接下载http://download.csdn.NET/detail/l253272670/9746818)
解压要$ES_HOME/plugins目录下,重命名 mv elasticsearch-sql-2.2.0 sql
重启es集群即可。
elasticsearch-sql使用说明:
1、web页面地址,http://localhost:9200/_plugin/sql/