ElasticSearch has a user friendly HTTP-JSON interface. But sometimes, a jdbc based SQL interface would make it easy for Java developers.
This project can be used to transform our SQL query into a normal elasticsearch query model. Currently in heavy development.
- elasticsearch-sql - Parse elasticsearch SQL dialect into elasticsearch query model.
- elasticsearch-driver - Wrap elasticsearch-sql into a jdbc driver.
- Java 1.8.131+
- Maven 3.5.0 or above
- IntelliJ IDEA 2017.2
- Lombok Plugin
- clone the project
git clone https://github.com/syhily/elasticsearch-jdbc.git
- compile the project and make all test passed
mvn clean package
- the packed jar would located in target directory
// TODO
If you have any problems with or questions about this program, please contact us through a GitHub issue.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.