code: private CoreContainer createCoreContainer() {
  
          CoreContainer container = null;
          try {
              // get the core container
              // still no core container: create it
              container = CoreContainer.createAndLoad(
                  Paths.get(m_solrConfig.getHome()),
                  m_solrConfig.getSolrFile().toPath());
              if (CmsLog.INIT.isInfoEnabled()) {
                  CmsLog.INIT.info(
                      Messages.get().getBundle().key(
                          Messages.INIT_SOLR_CORE_CONTAINER_CREATED_2,
                          m_solrConfig.getHome(),
                          m_solrConfig.getSolrFile().getName()));
              }
          } catch (Exception e) {
              LOG.error(
                  Messages.get().getBundle().key(
                      Messages.ERR_SOLR_CORE_CONTAINER_NOT_CREATED_1,
                      m_solrConfig.getSolrFile().getAbsolutePath()),
                  e);
          }
          return container;
  
      }
docs: Creates the Solr core container.<p>
  
  @return the created core container