searchModuleConfig.getIndexInterval(),
spellChecker);
indexUpdater = new IndexUpdater(searchModuleConfig.getFullIndexPath(), searchModuleConfig.getUpdateInterval());
}
//search set via spring
OLATSearcher implDelegate = null;
if(hasLocalImplementation) {
implDelegate = (OLATSearcher)CoreSpringFactory.getBean(searchModuleConfig.getImplementation());
if(implDelegate instanceof Search) { //TODO: find solution to avoid casting
((Search)implDelegate).setIndexPath(searchModuleConfig.getFullIndexPath());
((Search)implDelegate).setSearchSpellChecker(spellChecker);