It is a completely use on your own risk script :-) Freshly written, tested on some 4.8.0 indexes. PR’s welcome :-)
-- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 1. jun. 2016 kl. 14.36 skrev Brendan Humphreys <bren...@canva.com.INVALID>: > > Hi Jan, > > Thanks for the script! I for one will definitely try it out. > > Can you comment on how battle-tested it is? > > Are there any limitations or drawbacks? > > Cheers, > -Brendan > > On Wednesday, 1 June 2016, Jan Høydahl <jan....@cominvent.com> wrote: > >> Hi >> >> Need to upgrade from Solr 4.x directly to the new 6.0? >> Here is a script that does it automatically for all your cores: >> >> https://github.com/cominvent/solr-tools/blob/master/upgradeindex/upgradeindex.sh >> >> >> USAGE: >> Script to Upgrade old indices from 4.x and 5.x to 6.x format, so it can >> be used with Solr 6.x or 7.x >> Usage: ./upgradeindex.sh [-s] <indexdata-root> >> >> Example: ./upgradeindex.sh /var/lib/solr >> Please run the tool only on a cold index (no Solr running) >> The script leaves a backup in >> <indexdata-root>/<core>/data/index_backup_<version>.tgz. Use -s to skip >> backup >> Requires wget or curl to download dependencies >> >> -- >> Jan Høydahl, search solution architect >> Cominvent AS - www.cominvent.com >> >> > > -- > > [image: Canva] <https://canva.com> > Empowering the world to design > Also, we're hiring. Apply here! <https://about.canva.com/careers/> > [image: Twitter] <https://twitter.com/canva> [image: Facebook] > <https://facebook.com/canva> [image: LinkedIn] > <https://au.linkedin.com/company/canva> [image: Instagram] > <https://instagram.com/canva>