return super.create(new CoreDescriptor(coreDescriptor.getCoreContainer(), coreDescriptor
.getName(), coreDescriptor.getInstanceDir(), properties));
}
};
// Initialize cores
cores.load();
logger.info("Solr home directory: {}", solrHome);
for (Entry<String, String> core : coreDefs.entrySet()) {
logger.info(" core: {}, dataDir: {}", core.getKey(), core.getValue());
}