elasticsearch-HQ 安装与使用
2024-08-31 05:59:33
https://github.com/ElasticHQ/elasticsearch-HQ
- Download or clone the repository.
- Open terminal and point to root of repository. Type:
pip install -r requirements.txt
- Run server with:
nohup /usr/bin/python3 -u /usr/local/software/elasticsearch-HQ-master/application.py >>all.log >& &
- 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
最新文章
- 基于 SailingEase WinForm Framework 开发优秀的客户端应用程序(1:概述)
- js点击按钮倒计时setTimeout和setInterval
- Android笔记:java 中的数组
- Nginx简介
- URAL 1176 Hyperchannels(欧拉回路路径)
- Filezilla Server 配置大全
- python 函数默认值的小坑啊
- php笔记01:php基本语法格式
- poj2686 Traveling by Stagecoach
- shell脚本中执行另一个shell脚本
- java中的内存溢出和内存泄漏
- Python: 字典应用题
- ecstore-ftp设置,不能上传文件
- 五:理解控件的运行机制(例:基于Control命名空间的简单控件)
- SASS对css的管理
- CF989C A Mist of Florescence (构造)
- 安装Ubuntu后一些准备
- Classpath entry org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER will not be exported or published
- 修改Intelij IDEA的maven依据下载为国内镜像(阿里)
- (转)CreateThread与_beginthread,内存泄漏为何因(原帖排版有些不好 ,所以我稍微整理下)