I would say it will depend on your use case. Given that both 2.x and 5.x have reached end-of-life and you therefore likely need to perform a full reindexing, I would recommend going to the latest 7.x release. There are quite a few videos on the Elastic website that might be useful.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.