Hello All. How do i add a new core in Solr ? My solr directory is : /usr/share/solr-4.6.1/example/solr And it is having only one collection i.e. collection1 Now to add the new core I added a directory collection2 and in that I created 2 more directory. /conf & /lib Now my what should be the entry in solr.xml file?
<solr> <solrcloud> <str name="host">${host:}</str> <int name="hostPort">${jetty.port:8983}</int> <str name="hostContext">${hostContext:solr}</str> <int name="zkClientTimeout">${zkClientTimeout:15000}</int> <bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool> </solrcloud> <shardHandlerFactory name="shardHandlerFactory" class="HttpShardHandlerFactory"> <int name="socketTimeout">${socketTimeout:0}</int> <int name="connTimeout">${connTimeout:0}</int> </shardHandlerFactory> </solr> What to add in this file to register the new core? Please guide me. -- Regards, *Sohan Kalsariya*