WARNING: Deprecated in 7.15.0.
The Java REST Client is deprecated in favor of the Java API Client.
How to migrate
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
How to migrate
editAdapting existing code to use the RestHighLevelClient
instead of the TransportClient
requires the following steps:
- Update dependencies
- Update client initialization
- Update application code