lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to migrate index from 3.6 to 4.0 with solrcloud
Date Fri, 02 Nov 2012 06:36:23 GMT
It's not clear whether your index is already sharded or not. But it doesn't
matter because:
1> if it's not sharded, there's no shard-splitter (yet). So you can't copy
the right parts of your single index to the right shard.
2> if your 3.6 index _is_ sharded already, I pretty much guarantee that it
wasn't created with the same hashing algorithm that SolrCloud uses, so just
copying the shards to some node on the cloud won't work.

In either case, you'll have to re-indexing everything fresh.

Best
Erick


On Thu, Nov 1, 2012 at 9:34 PM, Zeng Lames <lezhi.zeng@gmail.com> wrote:

> Dear all,
>
> we have an existing index with solr 3.6, and now we want to migrate it to
> Solr4.0 with shard (2 shards, 2 nodes in a shard). The question are:
>
> 1.which node should i copy the existing index files to? any node in any
> shard ?
>
> 2. if copy the index files into any one of nodes, can it be replicated to
> the 'right' shard according hash code?
>
> 3. if above steps can't fulfill a index migrate to solrcloud, how should we
> do?
>
> thanks a lot
> Lames
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message