Overview
A Java Retrofit2/OkHttp client, it was generated from ElasticSearch Rest API spec. It has two ways to visit ElasticSearch: OkHttp3 way or Retrofit2 way. So it's only depend on OkHttp3/Retrofit2, and it can support any popular Java Json lib by implement org.datasays.wes.core.IConvert interface. You can use it as you need approaches.
wES-client Goals
- Base on official ElasticSearch Rest API spec codegen core codes, keep it support the lastest ES v5.x version, and re-codegen specified ES API version.
- Use Retrofit2/OkHttp for http request, keep scalability and usability.
- Each API comment for the official ES API Documentation URL.
- Use interface
IConvert
abstracting Json serialize and deserialize, u can customize for many Json java lib.e.g.Gson, jackson, fastjson. - mini class library dependencies, keep it simple and Highly customizable. If u need out-of-the-box, u can use wES-toolkit.
wES-client Benchmark
wES-benchmark: A benchmark report for all java ElasticSearch client. supported API: