On 7/12/2016 5:54 PM, Rachid Bouacheria wrote: > I am running solr 4.10.4 and I would like to upgrade to the latest version > 6.1.0 > > The documentation I found provides steps to upgrade from 4.10.4 to 5.x > And it seems like going from 4.x to 5.x is pretty consequent. > Going from 5.x to 6.1.0 seems to be less effort but still non negligible. > > I am wondering if anyone had to do a similar upgrade? If so how did you do > it? Upgrade to 5.x and then to 6, or straight from 4.x to 6? > Any tips or advice are welcome.
The 6.1.0 version cannot read your 4.x indexes. It can read 5.x and later indexes. If you can "upgrade" by setting up a new Solr install and reindexing everything, that will always achieve the best results. This is how I do upgrades. There's no need to worry about the old index format at all. If that's not possible, then you will need to convert your index to 5.x format before upgrading to 6.x. You can do this by upgrading to a 5.x version first and optimizing all your indexes, or you can use the IndexUpgrader tool from Lucene, first from 5.x, and then from 6.x, to upgrade your index in stages. https://cwiki.apache.org/confluence/display/solr/IndexUpgrader+Tool Thanks, Shawn