private void refreshDidYouMeanIndex() throws IOException { Configuration config = ConfigUtils.getSystemConfig(); String luceneIndex = config.getString("compositeIndex"); String spellIndex = config.getString("spellIndex"); DidYouMeanIndexer.createDefaultSpellIndex(luceneIndex, spellIndex); }