switch to Elasticsearch::Compat