Use SQL to query Elasticsearch
/_sql is changed to /_nlpcn/sql, and the path /_sql/_explain is changed to /_nlpcn/sql/explain.6.8.23 7.17.28 8.19.15 9.3.4 master
Query elasticsearch using familiar SQL syntax. You can also use ES functions in SQL.
Check out our wiki!
| elasticsearch version | latest version | remarks | branch |
|---|---|---|---|
| 1.x | 1.7.6 | tested against elastic 1.7.6 | elastic1.x |
| 2.0.0 | 2.0.4 | delete commands not supported | elastic2.0 |
| 2.1.0 | 2.1.0.2 | delete commands not supported | elastic2.1 |
| 2.1.1 | 2.1.1.1 | delete commands not supported | elastic2.1.1 |
| 2.1.2 | 2.1.2.0 | delete commands not supported | elastic2.1.2 |
| 2.2.0 | 2.2.0.1 | delete commands not supported | elastic2.2.0 |
| 2.2.1 | 2.2.1.0 | delete commands not supported | elastic2.2.1 |
| 2.3.0 | 2.3.0.0 | delete commands not supported | elastic2.3.0 |
| 2.3.1 | 2.3.1.1 | delete commands not supported | elastic2.3.1 |
| 2.3.2 | 2.3.2.0 | delete commands not supported | elastic2.3.2 |
| 2.3.3 | 2.3.3.0 | delete commands not supported | elastic2.3.3 |
| 2.3.4 | 2.3.4.0 | delete commands not supported | elastic2.3.4 |
| 2.3.5 | 2.3.5.0 | delete commands not supported | elastic2.3.5 |
| 2.4.0 | 2.4.0.1 | delete commands not supported | elastic2.4.0 |
| 2.4.1 | 2.4.1.0 | delete commands not supported | elastic2.4.1 |
| 2.4.2 | 2.4.2.1 | delete commands not supported | elastic2.4.2 |
| 2.4.3 | 2.4.3.0 | delete commands not supported | elastic2.4.3 |
| 2.4.4 | 2.4.4.0 | delete commands not supported | elastic2.4.4 |
| 2.4.5 | 2.4.5.0 | delete commands not supported | elastic2.4.5 |
| 2.4.6 | 2.4.6.0 | delete commands not supported | elastic2.4.6 |
| 5.0.1 | 5.0.1.0 | delete commands not supported | elastic5.0.1 |
| 5.1.1 | 5.1.1.0 | delete commands not supported | elastic5.1.1 |
| 5.1.2 | 5.1.2.0 | delete commands not supported | elastic5.1.2 |
| 5.2.0 | 5.2.0.0 | delete commands not supported | elastic5.2.0 |
| 5.2.1 | 5.2.1.0 | delete commands not supported | elastic5.2.1 |
| 5.2.2 | 5.2.2.0 | delete commands not supported | elastic5.2.2 |
| 5.3.0 | 5.3.0.0 | delete commands not supported | elastic5.3.0 |
| 5.3.1 | 5.3.1.0 | delete commands not supported | elastic5.3.1 |
| 5.3.2 | 5.3.2.0 | delete commands not supported | elastic5.3.2 |
| 5.3.3 | 5.3.3.0 | delete commands not supported | elastic5.3.3 |
| 5.4.0 | 5.4.0.0 | delete commands not supported | elastic5.4.0 |
| 5.4.1 | 5.4.1.0 | delete commands not supported | elastic5.4.1 |
| 5.4.2 | 5.4.2.0 | delete commands not supported | elastic5.4.2 |
| 5.4.3 | 5.4.3.0 | delete commands not supported | elastic5.4.3 |
| 5.5.0 | 5.5.0.1 | delete commands not supported | elastic5.5.0 |
| 5.5.1 | 5.5.1.0 | delete commands not supported | elastic5.5.1 |
| 5.5.2 | 5.5.2.0 | delete commands not supported | elastic5.5.2 |
| 5.5.3 | 5.5.3.0 | delete commands not supported | elastic5.5.3 |
| 5.6.0 | 5.6.0.0 | delete commands not supported | elastic5.6.0 |
| 5.6.1 | 5.6.1.0 | delete commands not supported | elastic5.6.1 |
| 5.6.2 | 5.6.2.0 | delete commands not supported | elastic5.6.2 |
| 5.6.3 | 5.6.3.0 | delete commands not supported | elastic5.6.3 |
| 5.6.4 | 5.6.4.0 | delete commands not supported | elastic5.6.4 |
| 5.6.5 | 5.6.5.0 | delete commands not supported | elastic5.6.5 |
| 5.6.6 | 5.6.6.0 | elastic5.6.6 | |
| 5.6.7 | 5.6.7.0 | elastic5.6.7 | |
| 5.6.8 | 5.6.8.0 | elastic5.6.8 | |
| 5.6.9 | 5.6.9.0 | elastic5.6.9 | |
| 5.6.10 | 5.6.10.0 | elastic5.6.10 | |
| 5.6.11 | 5.6.11.0 | elastic5.6.11 | |
| 5.6.12 | 5.6.12.0 | elastic5.6.12 | |
| 5.6.13 | 5.6.13.0 | elastic5.6.13 | |
| 5.6.14 | 5.6.14.0 | elastic5.6.14 | |
| 5.6.15 | 5.6.15.0 | elastic5.6.15 | |
| 5.6.16 | 5.6.16.0 | elastic5.6.16 | |
| 6.0.0 | 6.0.0.0 | elastic6.0.0 | |
| 6.0.1 | 6.0.1.0 | elastic6.0.1 | |
| 6.1.0 | 6.1.0.0 | elastic6.1.0 | |
| 6.1.1 | 6.1.1.0 | elastic6.1.1 | |
| 6.1.2 | 6.1.2.0 | elastic6.1.2 | |
| 6.1.3 | 6.1.3.0 | elastic6.1.3 | |
| 6.1.4 | 6.1.4.0 | elastic6.1.4 | |
| 6.2.0 | 6.2.0.0 | elastic6.2.0 | |
| 6.2.1 | 6.2.1.0 | elastic6.2.1 | |
| 6.2.2 | 6.2.2.0 | elastic6.2.2 | |
| 6.2.3 | 6.2.3.0 | elastic6.2.3 | |
| 6.2.4 | 6.2.4.0 | elastic6.2.4 | |
| 6.3.0 | 6.3.0.0 | elastic6.3.0 | |
| 6.3.1 | 6.3.1.0 | elastic6.3.1 | |
| 6.3.2 | 6.3.2.0 | elastic6.3.2 | |
| 6.4.0 | 6.4.0.0 | elastic6.4.0 | |
| 6.4.1 | 6.4.1.0 | elastic6.4.1 | |
| 6.4.2 | 6.4.2.0 | elastic6.4.2 | |
| 6.4.3 | 6.4.3.0 | elastic6.4.3 | |
| 6.5.0 | 6.5.0.0 | elastic6.5.0 | |
| 6.5.1 | 6.5.1.0 | elastic6.5.1 | |
| 6.5.2 | 6.5.2.0 | elastic6.5.2 | |
| 6.5.3 | 6.5.3.0 | elastic6.5.3 | |
| 6.5.4 | 6.5.4.0 | elastic6.5.4 | |
| 6.6.0 | 6.6.0.0 | elastic6.6.0 | |
| 6.6.1 | 6.6.1.0 | elastic6.6.1 | |
| 6.6.2 | 6.6.2.0 | elastic6.6.2 | |
| 6.7.0 | 6.7.0.0 | elastic6.7.0 | |
| 6.7.1 | 6.7.1.0 | elastic6.7.1 | |
| 6.7.2 | 6.7.2.0 | elastic6.7.2 | |
| 6.8.0 | 6.8.0.0 | elastic6.8.0 | |
| 6.8.1 | 6.8.1.0 | elastic6.8.1 | |
| 6.8.2 | 6.8.2.0 | elastic6.8.2 | |
| 6.8.3 | 6.8.3.0 | elastic6.8.3 | |
| 6.8.4 | 6.8.4.0 | elastic6.8.4 | |
| 6.8.5 | 6.8.5.0 | elastic6.8.5 | |
| 6.8.6 | 6.8.6.0 | elastic6.8.6 | |
| 6.8.7 | 6.8.7.0 | elastic6.8.7 | |
| 6.8.8 | 6.8.8.0 | elastic6.8.8 | |
| 6.8.9 | 6.8.9.0 | elastic6.8.9 | |
| 6.8.10 | 6.8.10.0 | elastic6.8.10 | |
| 6.8.11 | 6.8.11.0 | elastic6.8.11 | |
| 6.8.12 | 6.8.12.0 | elastic6.8.12 | |
| 6.8.13 | 6.8.13.0 | elastic6.8.13 | |
| 6.8.14 | 6.8.14.0 | elastic6.8.14 | |
| 6.8.15 | 6.8.15.0 | elastic6.8.15 | |
| 6.8.16 | 6.8.16.0 | elastic6.8.16 | |
| 6.8.17 | 6.8.17.0 | elastic6.8.17 | |
| 6.8.18 | 6.8.18.0 | elastic6.8.18 | |
| 6.8.19 | 6.8.19.0 | elastic6.8.19 | |
| 6.8.20 | 6.8.20.0 | elastic6.8.20 | |
| 6.8.21 | 6.8.21.0 | elastic6.8.21 | |
| 6.8.22 | 6.8.22.0 | elastic6.8.22 | |
| 6.8.23 | 6.8.23.0 | elastic6.8.23 | |
| 7.0.0 | 7.0.0.0 | elastic7.0.0 | |
| 7.0.1 | 7.0.1.0 | elastic7.0.1 | |
| 7.1.0 | 7.1.0.0 | elastic7.1.0 | |
| 7.1.1 | 7.1.1.0 | elastic7.1.1 | |
| 7.2.0 | 7.2.0.0 | elastic7.2.0 | |
| 7.2.1 | 7.2.1.0 | elastic7.2.1 | |
| 7.3.0 | 7.3.0.0 | elastic7.3.0 | |
| 7.3 |
是否支持 ES国产版的 Easysearch?
是否计划支持 Elasticsearch 8.19.7 / 更新的 8.19.x 版本?
ES-SQL 8.x版本当前在GROUP BY中使用substring(t.statis_date,0,8),返回结果只返回10条,无法支持返回全部或LIMIT条数,能否帮忙解决。
执行 GROUP BY terms(substring(t.statis_date,0,8),size=1000,alias='statis_date') 时带函数分组报错,请帮忙看看是什么问题,如何解决,万分谢谢。
8.15.0 插件版本 case when 中存在多个字段相加,解析错误。
elasticsearch-7.10.2集群配置x-pack认证后无法执行es-sql查询
keyword类型,调用max、min等聚合函数如何转成数字型统计
是否支持拼音检索
多久支持9.0.2呢?
使用like查询查询字符串包含下划线应该如何转义