Hi,

I'm attempting to come up with a SolrCloud restore / clone process for
either recover to a known good state or to clone the environment for
experimentation.  At the moment my process involves either creating a new
zookeeper environment or at least deleting the existing Collection so that I
can create a new one.  This works; I use the Core API; the first command
defines the collection parameters, and I invoke it once for each replica.  I
don't use the Collection API because I want SolrCloud to go off trying to
create all the replicas -- I know where each one is pre-positioned.

What I'm concerned about is what happens once I start wanting to use Shard
splitting, *especially* if I don't want to split all shards because shards
are uneven due to custom routing (e.g. id:"customer!myid").  In this case I
don't know how to create the collection with the hash ranges post-shard
split.  Solr doesn't have an API for me to explicitly say what the hash
ranges should be on each shard (to match up with a backup).  And I'm
concerned about undocumented pitfalls that may exist in manually
constructing a clusterstate.json, as another approach.

Any ideas?

~ David



-----
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Clone-or-Restore-Solrcloud-tp4114773.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to