https://github.com/ElasticHQ/elasticsearch-HQ

  1. Download or clone the repository.
  2. Open terminal and point to root of repository. Type: pip install -r requirements.txt
  3. Run server with: 
     nohup /usr/bin/python3 -u /usr/local/software/elasticsearch-HQ-master/application.py >>all.log >& &
  4. Access HQ with: http://localhost:5000

安装elasticsearch-sql-6.2.2

cd /usr/local/elasticsearch

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

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

Then start the web front-end like this:

cd site-server
npm install express --save
nohup node node-server.js >>node-server.log 2>&1 &

可以在site-server/site_configuration.json配置文件中修改启动服务的端口。

4.重启es,再启动es-sql前端
     添加es-sql插件后,重启es,然后启动es-sql前端服务
     启动前端服务:先切换到es-sql/site-server目录下,执行如下语句
node node-server.js &      启动后,访问:http://ip:8088/   然后配置es地址,如下:
  • Simple query
http://data.xxxx.com:9200/_sql?sql=select * from t_base_student limit 10
 
SELECT identity_id,person_id,sum(resource_size_int) as sumall FROM t_resource_info group by identity_id,person_id order by sumall desc limit 
  • Explain SQL to elasticsearch query DSL
http://localhost:9200/_sql/_explain?sql=select * from indexName limit 10

最新文章

  1. 基于 SailingEase WinForm Framework 开发优秀的客户端应用程序(1:概述)
  2. js点击按钮倒计时setTimeout和setInterval
  3. Android笔记:java 中的数组
  4. Nginx简介
  5. URAL 1176 Hyperchannels(欧拉回路路径)
  6. Filezilla Server 配置大全
  7. python 函数默认值的小坑啊
  8. php笔记01:php基本语法格式
  9. poj2686 Traveling by Stagecoach
  10. shell脚本中执行另一个shell脚本
  11. java中的内存溢出和内存泄漏
  12. Python: 字典应用题
  13. ecstore-ftp设置,不能上传文件
  14. 五:理解控件的运行机制(例:基于Control命名空间的简单控件)
  15. SASS对css的管理
  16. CF989C A Mist of Florescence (构造)
  17. 安装Ubuntu后一些准备
  18. Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published
  19. 修改Intelij IDEA的maven依据下载为国内镜像(阿里)
  20. (转)CreateThread与_beginthread,内存泄漏为何因(原帖排版有些不好 ,所以我稍微整理下)

热门文章

  1. C++ 仿函数
  2. 【转】python类中super()和__init__()的区别
  3. Java的static类
  4. Linux只读账号配置【转】
  5. 析构函数中的virtual是否必要?
  6. 第三章 Models详解
  7. 获取日期Date
  8. 欲善其工必先利其器-----ThinkPad E430加装SSD固态硬盘和内存
  9. 【原创】大叔经验分享(38)beeline连接hiveserver2报错impersonate
  10. LVM初级配置