ElasticSearch command helper.