code: private void shutDownSolrContainer() {
  
          if (m_coreContainer != null) {
              for (SolrCore core : m_coreContainer.getCores()) {
                  // do not unload spellcheck core because otherwise the core.properties file is removed
                  // even when calling m_coreContainer.unload(core.getName(), false, false, false);
                  if (!core.getName().equals(CmsSolrSpellchecker.SPELLCHECKER_INDEX_CORE)) {
                      m_coreContainer.unload(core.getName(), false, false, true);
                  }
              }
              m_coreContainer.shutdown();
              if (CmsLog.INIT.isInfoEnabled()) {
                  CmsLog.INIT.info(Messages.get().getBundle().key(Messages.INIT_SOLR_SHUTDOWN_SUCCESS_0));
              }
              m_coreContainer = null;
          }
      }
docs: Shuts down the Solr core container.<p>