Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
While writing tests for SOLR-4914, I discovered that it's really difficult to create a CoreContainer. There are a bunch of constructors which initialise different things, one (but only one!) of which also loads all the cores. Then you have the Initializer object, which basically does the same thing. Sort of. And then the TestHarness doesn't actually use CoreContainer, but an anonymous subclass of CoreContainer which has it's own initialisation logic. It would be nice to clean this up!
Attachments
Attachments
Issue Links
- breaks
-
SOLR-5009 CoreContainer instantiates 2 SolrResourceLoaders (implicit) but does not close all of them
- Closed
- is depended upon by
-
SOLR-4982 Creating a core while referencing system properties looks like it loses files.
- Closed
- is related to
-
SOLR-5011 Manage to close all ResourceLoaders when cores are unloaded/reloaded
- Open