use of org.opencastproject.search.api.SearchException in project opencast by opencast.
the class SearchServiceImpl method clear.
/**
* Clears the complete solr index.
*
* @throws SearchException
* if clearing the index fails
*/
public void clear() throws SearchException {
try {
logger.info("Clearing the search index");
indexManager.clear();
} catch (SolrServerException e) {
throw new SearchException(e);
}
}
Aggregations