Turn on elasticsearch.