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