一:ElasticSearch sql插件简介
With this plugin you can query elasticsearch using familiar SQL syntax. You can also use ES functions in SQL.
二:sql插件安装
地址:https://github.com/NLPchina/elasticsearch-sql/
找到对应的2.4.4版本,如下图:
启动es服务,运行cmd命令切换到bin目录,接着输入以下命令:plugin install https://github.com/NLPchina/elasticsearch-sql/releases/download/2.4.4.0/elasticsearch-sql-2.4.4.0.zip
,如下图所示:
三:运行sql插件
1)重新启动es服务
2)打开浏览器输入:http://localhost:9200/_plugin/sql/
如下图所示:
时间: 2024-10-07 22:09:00