code: public void initSpellcheckIndex(CmsObject adminCms) {
  
          if (CmsSpellcheckDictionaryIndexer.updatingIndexNecessesary(adminCms)) {
              final CmsSolrSpellchecker spellchecker = OpenCms.getSearchManager().getSolrDictionary();
              if (spellchecker != null) {
  
                  Runnable initRunner = new Runnable() {
  
                      public void run() {
  
                          try {
                              spellchecker.parseAndAddDictionaries(adminCms);
                          } catch (CmsRoleViolationException e) {
                              LOG.error(e.getLocalizedMessage(), e);
                          }
                      }
                  };
                  new Thread(initRunner).start();
              }
          }
      }
docs: Initializes the spell check index.<p>
  
  @param adminCms the ROOT_ADMIN cms context