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).
Creates a new ElasticClient by wrapping the given the HttpClient.
Creates a new ElasticClient by wrapping the given the HttpClient.
Any library can be made to work with elastic4s by creating an instance of the HttpClient typeclass wrapping the underlying library and then creating the ElasticClient using this method.
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