Elasticsearch 0.90 compatibility