WARNING: Deprecated in 7.15.0.
The Java REST Client is deprecated in favor of the Java API Client.
Migration Guide
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Migration Guide
editThis section describes how to migrate existing code from the TransportClient
to the Java High Level REST Client released with the version 5.6.0
of Elasticsearch.