public abstract class Notification extends Object
The base class for all notifications to the index. This class also contains methods for creating notification objects.
Learn more
Constructor and Description |
---|
Notification() |
Modifier and Type | Method and Description |
---|---|
static Notification |
createRenameNotification(String oldPath,
String newPath)
Creates a notification object to rename an indexed document that has been renamed and does not need to be reindexed.
|
public static Notification createRenameNotification(String oldPath, String newPath)
Creates a notification object to rename an indexed document that has been renamed and does not need to be reindexed. The renamed document will not be reindexed during the next update operation, even if its contents have been changed.
oldPath
- The old path to the indexed document.newPath
- The new path to the indexed document.