Hi, We use multi-core setup for Solr, where new cores are added dynamically to solr.xml. Only one core is active at a time. My question is how can the replication be done for multi-core - so every core is replicated on the slave?
I went over the wiki, http://wiki.apache.org/solr/SolrReplication, and few questions related to that, 1) How do we replicate solr.xml where we have list of cores? Wiki says, "Only files in the 'conf' dir of solr instance is replicated. " - since, solr.xml is in the home directory how do we replicate that? 2) Solrconfig.xml in slave takes a static core url, <str name="masterUrl">http://localhost:port/solr/corename/replication</str> As in our case cores are created dynamically (new core created after the active one reaches some capacity), how can we define master core dynamically for replication? The only I see it is using "fetchIndex" command and passing new core info there - is it right? If so, does the slave application have write code to poll Master periodically and fire "fetchIndex" command, but how would Slave know the Master corename - as they are created dynamically on the Master? Thanks, -vivek