try {
if (si.getLuceneIndexOptimizerSchedulerEnabled()) {
dataMan.rescheduleOptimizer(si.getLuceneIndexOptimizerSchedulerAt(), si.getLuceneIndexOptimizerSchedulerInterval());
} else {
dataMan.disableOptimizer();
}
} catch (Exception e) {
e.printStackTrace();
throw new OperationAbortedEx("Parameters saved but cannot restart Lucene Index Optimizer: "+e.getMessage());
}