Rename client to esClient for clarity since we have both an elasticsearch and mongo client