public void parseAndAddDictionaries ( CmsObject cms ) throws CmsRoleViolationException { OpenCms . getRoleManager ( ) . checkRole ( cms , CmsRole . ROOT_ADMIN ) ; CmsSpellcheckDictionaryIndexer . parseAndAddZippedDictionaries ( m_solrClient , cms ) ; CmsSpellcheckDictionaryIndexer . parseAndAddDictionaries ( m_solrClient , cms ) ; }
Parses and adds dictionaries to the Solr index .