code: public void removeSearchIndex(I_CmsSearchIndex searchIndex) {
  
          // shut down index to remove potential config files of Solr indexes
          searchIndex.shutDown();
          if (searchIndex instanceof CmsSolrIndex) {
              CmsSolrIndex solrIndex = (CmsSolrIndex)searchIndex;
              m_coreContainer.unload(solrIndex.getCoreName(), true, true, true);
          }
          m_indexes.remove(searchIndex);
          initOfflineIndexes();
  
          if (LOG.isInfoEnabled()) {
              LOG.info(
                  Messages.get().getBundle().key(
                      Messages.LOG_REMOVE_SEARCH_INDEX_2,
                      searchIndex.getName(),
                      searchIndex.getProject()));
          }
      }
docs: Removes a search index from the configuration.<p>
  
  @param searchIndex the search index to remove