Hi all,

Wondering if anyone has experience (this is with Solr 6.6) in setting up 
MiniSolrCloudCluster for unit testing, where we want to use an existing index.

Note that this index wasn’t built with SolrCloud, as it’s generated by a 
distributed (Hadoop) workflow.

So there’s no “restore from backup” option, or swapping collection aliases, etc.

We can push our configset to Zookeeper and create the collection as per other 
unit tests in Solr, but what’s the right way to set up data dirs for the cores 
such that Solr is running with this existing index (or indexes, for our sharded 
test case)?

Thanks!

— Ken

PS - yes, we’re aware of the routing issue with generating our own shards….

--------------------------
Ken Krugler
+1 530-210-6378
http://www.scaleunlimited.com
Custom big data solutions & training
Flink, Solr, Hadoop, Cascading & Cassandra

Reply via email to