Hi Darren, You just need to do the following things in general to go multicore:
1. Use the folder *<SOLR_INSTALL_DIR>\example\multicore\core1* and * <SOLR_INSTALL_DIR>\example\multicore\core2* as they were your actual * <SOLR_INSTALL_DIR>\example\solr*. 2. Check if <SOLR_INSTALL_DIR>\multicore\solr.xml exists and it has the element <cores adminPath="/admin/cores"> uncomented; 3. Change solr.war's application Context with <Environment name="solr/home" type="java.lang.String" value="* <SOLR_INSTALL_DIR>\\example\\multicore*" override="true"/> 4. http://localhost:8080/solr/ should show two links: *Solr Admin core0* and *Solr Admin Core1*. Of course more cutomizations are avilable. This is just the simplest thing to do. Let me know if it works. ---- Marcelo Carvalho Fernandes +55 21 8272-7970 On Sat, May 26, 2012 at 5:45 PM, Darren Govoni <dar...@ontrenet.com> wrote: > It's not really clear from the wiki how to use cores as shard replicas > within the same solr server. In my mind, having a separate JVM/solr > node/ acting as a replica makes sense because the replication traffic > will be on a different channel in a different vm and won't interfere > with search/indexing traffic on the primary shards. > > Or am I missing something easy about using cores with solr cloud? > It was mentioned on the list recently that managing cores with solrcloud > isn't really the best practice for it. > > On Sat, 2012-05-26 at 16:12 -0300, Marcelo Carvalho Fernandes wrote: > > Why not using multicore? > > > > ---- > > Marcelo Carvalho Fernandes > > +55 21 8272-7970 > > > > > > > > On Sat, May 26, 2012 at 12:56 PM, Darren Govoni <ontre...@ontrenet.com > >wrote: > > > > > Hi, > > > I am running my solrcloud nodes in an app server deployed into the > > > context path 'solr' and zookeeper sees all of them. I want to deploy a > > > second solrcloud war into the same app server (thus same IP:port) in a > > > different context like 'solrrep' with the same config (cloned). > > > > > > Will this work? Or does zookeeper (or solrcloud leader) require all > > > connected solr shards to have context url with ip:port/solr? Or will > the > > > correct URL be registered from the replica shard? > > > > > > thanks! > > > > > > > > > > > >