Initialization

A RestHighLevelClient instance needs a REST low-level client to be built as follows:

RestHighLevelClient client =
    new RestHighLevelClient(lowLevelRestClient); 

We pass the REST low-level client instance

In the rest of this documentation about the Java High Level Client, the RestHighLevelClient instance will be referenced as client.