Erlang library to use ElasticSearch