Elasticsearch-sql安装

本文档介绍了如何在Elasticsearch 5.x/6.x上安装和使用elasticsearch-sql。您可以从链接https://github.com/NLPchina/elasticsearch-sql/releases/download/5.4.1.0/es-sql-site-standalone.zip下载并提取站点。
摘要由CSDN通过智能技术生成
1 环境 Elasticsearch6.2.3
2 进入 https://github.com/NLPchina/elasticsearch-sql
3 下载sql插件,注意版本号
     https://github.com/NLPchina/elasticsearch-sql/releases/download/5.6.3.0/elasticsearch-sql-5.6.3.0.zip
4  下载 es-sql-site-standalone,没有版本号

On elasticsearch 5.x/6.x, download and extract site.

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

elasticsearch-sql-5.6.3.0 中的 jar 放到  elasticsearch 目录中的 plugins\sql 中
  例如: D:\Program Files\elasticsearch-6.2.3\elasticsearch-6.2.3\plugins\sql

6  重新启动Elasticsearch 

es-sql-site-standalone 修改端口  site_configuration.json 修改端口 8090
es-sql-site-standalone 解压到任意目录, 安装和启动方法:
cd site-server
npm install express --save
node node-server.js
浏览 http://127.0.0.1:8090/ ,并修改 Elasticsearch 的连接地址,右上角 http://127.0.0.1:9200/

10   查询返回结果

 

 


评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值