There are a number of template changes in Elasticsearch 5.2, most notably around
string type handling, that may cause issues when upgrading. If you are upgrading from
Elasticsearch 2.x to Elasticsearch 5.6.2, you will need to re-index. For information on
the type mapping changes, see the section called “Type Mapping Changes”.