1、下载Elasticsearch-sql
https://github.com/NLPchina/elasticsearch-sql 下载对应的版本
2、配置
把下载的文件解压放在es/plugins,更名sql 如图

3、下载es-sql-site-standalone.zip
https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip
4、解压 默认端口是8080(可以在site_configuration.json修改端口)
5、启动
cd site-server
npm install express --save
node node-server.js

基本就完成了 参考资料 https://github.com/NLPchina/elasticsearch-sql/wiki/Installation-Guide
基础语法 https://github.com/NLPchina/elasticsearch-sql
网友评论