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:
For more information, see Upgrade Elasticsearch.