// remove entry before (re)adding it, or in case it isn't Published
manager.removeEntryIndexOperation(entry);
// if published, index the entry
if (entry.isPublished()) {
manager.addEntryIndexOperation(entry);
}
// Clear all caches associated with comment
CacheManager.invalidate(comment);
}