The first step for working with elastic4s is to create a connection client to call ElasticSearch. Similar to Java, the connection client is native and can be a node or a transport one.
Similar to Java, the connection client can be both a native one and a HTTP one.
In this recipe, we'll initialize an HTTP client because it can be put behind a proxy/balancer to increase the high availablity of your solution. This is good practice.