elasticsearch-sql2 icon indicating copy to clipboard operation
elasticsearch-sql2 copied to clipboard

怎么和springboot集成呢,支持连接池方式吗?

Open polarisunny opened this issue 5 years ago • 3 comments

polarisunny avatar May 05 '19 03:05 polarisunny

这个版本的elasticsearch-sql是基于java high level rest client的,说白了其实就是发http请求,不像tcp那样还要维护管理tcp连接,不需要连接池的 这个组件目前没有与spring boot做集成,你可以去看elasticsearch-query-toolkit,写个jdbc接口就可以直接和mybatis集成了

iamazy avatar May 05 '19 06:05 iamazy

跟官方的sql功能比起来有啥不一样的吗

polarisunny avatar May 05 '19 09:05 polarisunny

贴出官网的SQL Limitations,除了sub-selec没有实现,其他基本都有

iamazy avatar May 05 '19 12:05 iamazy