Erlang interface to Elastic Search