I'm reviewing SOLR-1817 and noticing that when CoreContainer parses solr.xml, it asserts that at most one core has a "name" matching the "defaultCoreName" ... but there is currently no assertion that every core have a name, or that the names be unique before the SolrCore is constructed ... it's not until the core is registered that an error will be generated if the core name is null, or that the previous core with an identicle name will be close()ed.

Is there any reason why CoreContainer shouldn't throw an exception if solr.xml declares a core w/o a name, or two cores with the same name?



-Hoss

Reply via email to