Given it's prod and you don't want downtime, to be super paranoid and safe I'd upgrade to 0.90.N and then to 1.0.N and then 1.N. Force an optimise on the indexes and that will reformat them into the upgraded Lucene version (a trick someone recently mentioned), which means you don't need to reindex. I'd also leave a day between upgrades to allow for any issues to crop up.
Most importantly, read the release notes and breaking changes so that any external code that interacts with your cluster can be catered for. Regards, Mark Walkom Infrastructure Engineer Campaign Monitor email: [email protected] web: www.campaignmonitor.com On 29 May 2014 07:52, Ivan Brusic <[email protected]> wrote: > 0.20.6 uses Lucene 3 and 1.1.1 uses Lucene 4. Lucene is always backwards > compatible for at least 1 major version, so your data should be fine and > there is no need to reindex. Others might disagree, but I would simply > backup the data and run the latest version. An optimize might help force > older segments into the latest Lucene 4 format. > > Prior to version 1.x, you cannot run clusters with different major > versions. You will need to do a full cluster restart. If you are using a > Java client, they would also need to be upgraded. > > > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-upgrade.html > > You will greatly benefit from an upgrade. The memory improvements in > Lucene 4 alone (ES versions 0.90+) are worth it. > > Cheers, > > Ivan > > > On Wed, May 28, 2014 at 2:33 PM, ciatog <[email protected]> wrote: > >> I currently have elasticsearch on 3 production servers with an average of >> 30 sites per server. >> >> Initially version 0.20.6 of elasticsearch was installed but I'd like to >> move them all up to 1.1.1 to take advantage of new features but also to not >> fall behind even more then has already happened. >> >> The option of upgrading to 1.1.1 on the servers and then regenerating all >> indexes is something that could be done as a last option but since each >> site depends on the search so extensively and would need to be down for >> some time I'd rather avoid that if at all possible. >> >> Here are my questions: >> - Do indexes created in 0.20.6 work in 1.1.1? >> - Has anyone ever ran more then one instance of elasticsearch, both with >> different version numbers on the same server? >> - Are there other options here that I haven't considered that someone >> else has used successfully in this kind of situation? >> >> Any suggestions or help is greatly appreciated. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "elasticsearch" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/3f9434b1-1958-47a2-b6db-07e32519a253%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/3f9434b1-1958-47a2-b6db-07e32519a253%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAUhy9sgHpBcwOoWOWe1L11Pehv9evXkzC%2BYim-xciDaw%40mail.gmail.com<https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQAUhy9sgHpBcwOoWOWe1L11Pehv9evXkzC%2BYim-xciDaw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624agoNVoYdHXPQ5kiPJmhBuh9YxJ2WWchHQEdqd2dof17Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
