Copied content from:
https://github.com/dhoss/catalyst-model-search-elasticsearch.
Can be extended to provide required customised support.
Added dependency on Elasticsearch Perl client.