ElasticClient
com.sksamuel.elastic4s.ElasticClient
case class ElasticClient(client: HttpClient) extends AutoCloseable
An ElasticClient is used to execute HTTP requests against an ElasticSearch cluster. This class delegates the actual HTTP calls to an instance of HttpClient.
Any third party HTTP client library can be made to work with elastic4s by creating an instance of the HttpClient typeclass wrapping the underlying client library and then creating the ElasticClient with it.
Value parameters
- client
-
the HTTP client library to use
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AutoCloseableclass Objecttrait Matchableclass Any
Members list
In this article