/elasticsearch-jdbc

A elasticsearch specified SQL interface on Java, no need to tweak your es instance.

Primary LanguageJavaMIT LicenseMIT

elasticsearch jdbc

Build Status Coverage Status License

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.

Architecture

  • elasticsearch-common - Common module
  • elasticsearch-sql - Parse elasticsearch SQL dialect into elasticsearch query model.
  • elasticsearch-driver - Wrap elasticsearch-sql into a jdbc driver.

Development

Tools

  1. Java 1.8.131+
  2. Maven 3.5.0 or above
  3. IntelliJ IDEA 2017.2
  4. Lombok Plugin

Flow

  1. clone the project
git clone https://github.com/syhily/elasticsearch-jdbc.git
  1. compile the project and make all test passed
mvn clean package
  1. the packed jar would located in target directory

ElasticSearch SQL Definition

// TODO

User Feedback

Issues

If you have any problems with or questions about this program, please contact us through a GitHub issue.

Contributing

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.