This topic describes the Java clients supported by the Lindorm search engine (LindormSearch) and the compatibility between the clients and LindormSearch.
Supported Java clients
You can use one of the following clients to access LindormSearch:
Java High Level REST Client (recommended): The 5.6.0 version of this client is released by Elasticsearch on September 11, 2017. The Java High Level REST Client works on top of the Java Low Level REST Client and provides more classes and interfaces. The Java High Level REST Client depends on the Elasticsearch core project. The client accepts request objects as an argument and returns response objects. All API operations provided by the client can be synchronously or asynchronously called. For more information about how to use the Java High Level REST Client, see Java High Level REST Client.
Java Low Level REST Client: This client is released by Elasticsearch in 2016 and can be used to communicate with Elasticsearch over HTTP. The API operations provided by the client do not encode and decode data. Users must use other methods to encode and decode data. For more information about how to use the Java Low Level REST Client, see Java Low Level REST Client.
Client compatibility
The Java Rest Client is forward compatible. For example, the 6.7.0 version of Java High Level REST Client can communicate with clusters that run Elasticsearch 6.7.0 and later versions.
We recommend that you use Java REST Client 7.10.0 and earlier versions to connect to LindormSearch.