WARNING: Deprecated in 7.15.0.
The Java REST Client is deprecated in favor of the Java API Client.
Prerequisite
editPrerequisite
editThe Java High Level Rest Client requires Java 1.8
and can be used to send requests
to an Elasticsearch cluster in a compatible version.