Notification
Contents
[
Hide
]
Inheritance: java.lang.Object
public abstract class Notification
The base class for all notifications to the index. This class also contains methods for creating notification objects.
Learn more
Constructors
Constructor | Description |
---|---|
Notification() |
Methods
Method | Description |
---|---|
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. |
Notification()
public Notification()
createRenameNotification(String oldPath, String newPath)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
oldPath | java.lang.String | The old path to the indexed document. |
newPath | java.lang.String | The new path to the indexed document. |
Returns: Notification - A new rename notification object.