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.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.