code: protected void initSearchIndexes() {
  
          I_CmsSearchIndex index = null;
          for (int i = 0, n = m_indexes.size(); i < n; i++) {
              index = m_indexes.get(i);
              // reset disabled flag
              index.setEnabled(true);
              // check if the index has been configured correctly
              if (index.checkConfiguration(m_adminCms)) {
                  // the index is configured correctly
                  try {
                      index.initialize();
                  } catch (Exception e) {
                      if (CmsLog.INIT.isWarnEnabled()) {
                          // in this case the index will be disabled
                          CmsLog.INIT.warn(Messages.get().getBundle().key(Messages.INIT_SEARCH_INIT_FAILED_1, index), e);
                      }
                  }
              }
              // output a log message if the index was successfully configured or not
              if (CmsLog.INIT.isInfoEnabled()) {
                  if (index.isEnabled()) {
                      CmsLog.INIT.info(
                          Messages.get().getBundle().key(Messages.INIT_INDEX_CONFIGURED_2, index, index.getProject()));
                  } else {
                      CmsLog.INIT.warn(
                          Messages.get().getBundle().key(
                              Messages.INIT_INDEX_NOT_CONFIGURED_2,
                              index,
                              index.getProject()));
                  }
              }
          }
      }
docs: Initializes the configured search indexes.<p>
  
  This initializes also the list of Cms resources types
  to be indexed by an index source.<p>