ES添加elasticsearch-sql插件


1、查看sql插件github

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

2、安装

1、cd elasticsearch  #进入目录

2、./bin/elasticsearch-plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.3.0/elasticsearch-sql-5.4.3.0.zip

3、下载SQL的Server

wget https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip

4、解压编译安装

unzip es-sql-site-standalone.zip
cd site-server/
npm install express --save

5、修改启动端口,然后启动server

1、修改SQL的Server的端口
  vi site_configuration.json
2、启动服务
  node node-server.js &

 6、访问前端

 

 

6、访问前端
[6, Fǎngwèn qiánduān]
6, front-end access


免责声明!

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



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