use of org.olat.search.service.SearchServiceImpl in project OpenOLAT by OpenOLAT.
the class SearchIndexingJob method interrupt.
@Override
public void interrupt() throws UnableToInterruptJobException {
log.info("Interrupt indexer via quartz.");
SearchService searchService = SearchServiceFactory.getService();
if (searchService instanceof SearchServiceImpl) {
((SearchServiceImpl) searchService).getInternalIndexer().stopFullIndex();
}
}
use of org.olat.search.service.SearchServiceImpl in project OpenOLAT by OpenOLAT.
the class SearchIndexingJob method executeWithDB.
/**
* @see org.olat.core.commons.services.scheduler.JobWithDB#executeWithDB(org.quartz.JobExecutionContext)
*/
@Override
public void executeWithDB(JobExecutionContext arg0) throws JobExecutionException {
log.info("Search indexer started via cronjob.");
SearchService searchService = SearchServiceFactory.getService();
if (searchService instanceof SearchServiceImpl) {
((SearchServiceImpl) searchService).getInternalIndexer().startFullIndex();
}
}
use of org.olat.search.service.SearchServiceImpl in project openolat by klemens.
the class SearchIndexingJob method executeWithDB.
/**
* @see org.olat.core.commons.services.scheduler.JobWithDB#executeWithDB(org.quartz.JobExecutionContext)
*/
@Override
public void executeWithDB(JobExecutionContext arg0) throws JobExecutionException {
log.info("Search indexer started via cronjob.");
SearchService searchService = SearchServiceFactory.getService();
if (searchService instanceof SearchServiceImpl) {
((SearchServiceImpl) searchService).getInternalIndexer().startFullIndex();
}
}
use of org.olat.search.service.SearchServiceImpl in project openolat by klemens.
the class SearchIndexingJob method interrupt.
@Override
public void interrupt() throws UnableToInterruptJobException {
log.info("Interrupt indexer via quartz.");
SearchService searchService = SearchServiceFactory.getService();
if (searchService instanceof SearchServiceImpl) {
((SearchServiceImpl) searchService).getInternalIndexer().stopFullIndex();
}
}
Aggregations