You might want to have a look at this patch in case it breaks stuff for us
On 4/20/07, Henrib <[EMAIL PROTECTED]> wrote:
Updated (forgot the patch for Servlet). http://www.nabble.com/file/7996/solr-trunk-src.patch solr-trunk-src.patch The change should still be compatible with the trunk it is based upon. Henrib wrote: > > Following up on a previous thread in the Solr-User list, here is a patch > that allows managing multiple cores in the same VM (thus multiple > config/schemas/indexes). > The SolrCore.core singleton has been changed to a Map<String, SolrCore>; > the current singleton behavior is keyed as 'null'. (Which is used by > SolrInfoRegistry). > All static references to either a Config or a SolrCore have been removed; > this implies that some classes now do refer to either a SolrCore or a > SolrConfig (some ctors have been modified accordingly). > > I haven't tried to modify anything above the 'jar' (script, admin & > servlet are unaware of the multi-core part). > > The 2 patches files are the src/ & the test/ patches. > http://www.nabble.com/file/7971/solr-test.patch solr-test.patch > http://www.nabble.com/file/7972/solr-src.patch solr-src.patch > > This being my first attempt at a contribution, I will humbly welcome any > comment. > Regards, > Henri > -- View this message in context: http://www.nabble.com/Multiple-Solr-Cores-tf3608399.html#a10106126 Sent from the Solr - User mailing list archive at Nabble.com.