Your best option would be to setup a new SolrCloud cluster on 6.2, upgrading 
various features
to use new Field Types, DocValues etc and then reindex from scratch.

If you simply want to stick with exactly the same index and feature set as 
before, you would
need to keep luceneMatchVersion at 4.9 in solrconfig and then fix errors 
related to removed
or moved classes in Schema and Solrconfig. Once that is done you need to 
upgrade the index,
you can use my automated upgrade tool here 
https://github.com/cominvent/solr-tools/tree/master/upgradeindex 
<https://github.com/cominvent/solr-tools/tree/master/upgradeindex>

Going from non-cloud to Cloud should not be a problem with one shard only.
But it sounds like you have multiple shards in your non-cloud setup. The only
way to make that work with Cloud is to use the implicit router and control 
routing
manually from your client (as before?).

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 31. aug. 2016 kl. 04.06 skrev Karthik Ramachandran <mrk...@gmail.com>:
> 
> 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