My apologies for generating confusion.
The original solr-215 has a small blurb about its intentions that still remain true today that I'll try to beef up and make more comprehensible (in solr-350 most probably). There are 2 functional axis; one axis is about easing deployment in IT constrained environments -with independent cores but only one web-application- and the other one is to allow cooperative indexes - document collections with different life-cycles (localization for instance where one index might not be the best fit) or embedding multiple cores in a functionally wider application. When solr-215 was committed and solr-350 created, the solr-215 code that relied on a static for the class loader was cleaned up and each core was granted its own class loader. The recent activity started after Walter hit an issue with these multiple class loaders ; this introduced a lot of complexity to share objects between handlers (for instance). Thus, solr-409 (sub-task of solr-215) which is just a solution to that problem, allowing to specify whether a class loader should be shared between 2 core instances. This incidentally reflects the functional needs of the 2 orthogonal axes previously defined. On the plug-in side, solr-399 is meant to allow 'core initialization' of plug-ins: if such a plug-in shares some information across its different instances, one could use this feature to perform per-core injection on that shared object. So even if we share an object through a plug-in, we'd still be able to let it know that different cores are accessing it. I realize mentioning this was unfortunately confusing... As for the administration of multiple cores, aka solr-350, I've restarted working on it - but got sidetracked by solr-399 & solr-409 (not to mention my interest in solr-281). There is even more work after to tackle replication... Hopes this makes the mess more understandable. Any other advice besides the kind suggestions you already made? -- View this message in context: http://www.nabble.com/Post-SOLR215-SOLR350-singleton-issue-tf4776980.html#a13710603 Sent from the Solr - Dev mailing list archive at Nabble.com.
