elasticsearch 1.0 updates (requires Elasticsearch.pm + 1.0)