Update Elasticsearch for newbie

(Dmitrij Verenikin) #1

Hello. Please tell me, if when updating the version of the elastic, it does not matter to me that the old index is saved - can I just delete the old version and install the new one?

(Mark Walkom) #2

What OS are you on and how did you install it - a deb/rpm/windows installer, or a zip?

(Dmitrij Verenikin) #3
  1. Debian GNU/Linux 7
  2. I do not know exactly, most likely zip. Can I somehow find out for sure?

(Mark Walkom) #4

Try dpkg -l|grep -i elasticsearch.

(Dmitrij Verenikin) #5

ii elasticsearch 1.0.1 all Open Source, Distributed, RESTful Search Engine

(Mark Walkom) #6

Wow, that's super old! In this case you can't just do an apt-get upgrade, as 1.X isn't compatible with any of the latest versions.

Ideally, you would create a new 6.X cluster and then run a reindex from the old cluster to the new one./

(Dmitrij Verenikin) #7

Thank you, I'll do it