Prepare the support for Elasticsearch 5

Description

In HSEARCH-2434, we are listing every breaking change in ES 5.0. Some of them can be addressed without impacting support for ES 2.X, so we may as well merge those ASAP.

Environment

None

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Minor
Configure