Add Elasticsearch support.