Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client.
Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.
Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client.
Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.
Creates a new ElasticClient from an existing Elasticsearch Java API RestClient.
Creates a new ElasticClient from an existing Elasticsearch Java API RestClient.
the Java client to wrap
newly created Scala client
Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client.
Creates a new ElasticClient using the elasticsearch Java API rest client as the underlying client. Optional callbacks can be passed in to configure the client.
Alternatively, create a RestClient manually and invoke fromRestClient(RestClient).
(Since version 6.3.3) Use apply(ElasticProperties)