According to the release history, elastic search switched from 2.4 to 5.0.
https://en.wikipedia.org/wiki/Elasticsearch#History I was unable to find documentation online about what happened between version 2 and 5 which makes it difficult to decide whether it is wise to upgrade.