You are looking at documentation for an older release. Not what you want? See the current release documentation.
This section discusses the changes that you need to be aware of when migrating your application from one version of Elasticsearch to another.
As a general rule:
See Upgrading for more info.