log.info("The following Cores active on the SolrServer are not " +
"marked as active in the Metadata: {}",activeOnSolrServer);
log.info("Based on the Metadata (UNKNOWN ... no Index for that name):");
for(String indexName : activeOnSolrServer){
IndexMetadata metadata = managedCores.getIndexMetadata(indexName);
ManagedIndexState state = metadata != null ? metadata.getState() : null;
log.info(" - {} has state {}",indexName, state != null ? state : "UNKNOWN");
if(metadata == null){
//unknown core ... deactivate
deactivateCore(indexName, server);
log.info(" ... deactiaved UNKOWN SolrCore {} on managed Solr Server {}",