public void resetSearchIndex() throws Exception {
IndexManager indexMgr = (IndexManager)Component.getInstance(IndexManager.class);
Progress progress = new Progress(selectedIndexedEntity.getClazz().getName());
indexMgr.rebuildIndex(selectedIndexedEntity.getClazz(), progress);
if (indexingProgressMonitors == null) indexingProgressMonitors = new HashMap<String, Progress>();
indexingProgressMonitors.put(selectedIndexedEntity.getClazz().getName(), progress);
}