elasticsearch sql插件配置(5.0及以上版本)


github官方参考地址:https://github.com/NLPchina/elasticsearch-sql/

采用 git + node 的方式,所以安装前需要先安装好node,node npm,node grunt,git

1. 下载:es-sql-site-standalone.zip
https://github.com/NLPchina/elasticsearch-sql/releases/download/5.0.1/es-sql-site-standalone.zip

2.解压缩之后进入到 es-sql-site-standalone\es-sql-site\site-server 目录,执行下面命令
npm install express --save
node node-server.js

3.下载对应版本sql插件到本地目录。
1.由于是个maven工程,在eclipse中编译打包。将编译打包后的\target\目录下的几个文件

拷贝到elasticsaerch的plugins\sql文件夹下

4.拷贝elasticsearch-sql-elastic2.4.0\src下的_site 文件夹到 elasticsaerch的plugins\sql文件夹下

已经安装完成了,打开浏览器输入 10.127.0.1:8080

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM