I don't think optimize would work, you have upgrade the index using
IndexUpgrader tool from 4.x to 5.x and then from 5.x to 6.x.

We had solr 4.8 we moved to 6.1 by just upgrading the index to 5.x
using IndexUpgrader tool and then start using 6.1, eventually all data will
be move to 6.1 at some point in time.  If that is not desired you can run
optimize in 6.x which will bring the index version to 6.x

https://cwiki.apache.org/confluence/display/solr/IndexUpgrader+Tool

-Karthik


On Tue, Aug 30, 2016 at 9:27 PM, Reth RM <reth.ik...@gmail.com> wrote:

> >>Is there any way through which I can migrate my index which is currently
> on
> 4.9 to 6.1?
> you should try copying existing indexes to latest solr 6.x and execute
> optimize command. Let us know your findings.
>
> >>I would be using solrcloud on solr 6.1.0 and will be having more number
> of
> shards than my previous set-up.
>
> You can use shard splitting feature if the above step creates indexes
> without any issues.
>
>
>
> On Mon, Aug 29, 2016 at 11:09 AM, Piyush Kunal <piyush.ku...@myntra.com>
> wrote:
>
> > I would be using solrcloud on solr 6.1.0 and will be having more number
> of
> > shards than my previous set-up.
> >
> > On Mon, Aug 29, 2016 at 11:38 PM, Piyush Kunal <piyush.ku...@myntra.com>
> > wrote:
> >
> > > Is there any way through which I can migrate my index which is
> currently
> > > on 4.9 to 6.1?
> > >
> > > Looking for something backup and restore.
> > >
> >
>

Reply via email to