Integrate elasticsearch.