Adapter to integrate with Elasticsearch