Copy existing index from standalone Solr to Solr cloud

2014-07-29 Thread avgxm
Is there a correct way to take an existing Solr index (core.properties,
conf/, data/ directories from a standalone Solr instance) and copy it over
to a Solr cloud, with shards, without having to use import or re-indexing? 
Does anyone know the proper steps to accomplish this type of a move?  The
target system is zookeeper 3.4.6, tomcat 7.0.54, and solr 4.8.1.  I have
been able to copy the data and load the core by executing upconfig,
linkconfig to zookeeper, and then copying over the core.properties, and
conf/ and data/ directories, bouncing tomcat.  The core comes up and is
searchable.  The cloud pic looks like corename  shard1 
ip_addr:8080.  Then, I have tried to use split core, split shard, create
core, without success to try and add shard2 and shard3, either on the same
or different hosts.  Not sure what I'm missing or if this way of reusing the
existing data is even an option.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Copy-existing-index-from-standalone-Solr-to-Solr-cloud-tp4149920.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Copy existing index from standalone Solr to Solr cloud

2014-07-29 Thread avgxm
Thanks a lot, Shawn.  I have gotten as far as having the core come up per
your instructions.  Since numShards was set to 1, what is the next step to
add more shards?  Is it /admin/collections?action=CREATESHARD... or
something else?  Ultimately, I'd like to have shard1, shard2, shard3, with
"router":{"name":"compositeId"}, where each core is "leader":"true".



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Copy-existing-index-from-standalone-Solr-to-Solr-cloud-tp4149920p4149934.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Copy existing index from standalone Solr to Solr cloud

2014-07-30 Thread avgxm
Used the admin/collections?action=SPLITSHARD, to create shard1_0, shard1_1,
and then followed this thread
http://lucene.472066.n3.nabble.com/How-can-you-move-a-shard-from-one-SolrCloud-node-to-another-td4106815.html
to move the shards to the right nodes.  Problem solved.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Copy-existing-index-from-standalone-Solr-to-Solr-cloud-tp4149920p4150163.html
Sent from the Solr - User mailing list archive at Nabble.com.