NotificationCreateRenameNotification Method
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.

Namespace: GroupDocs.Search.Common
Assembly: GroupDocs.Search (in GroupDocs.Search.dll) Version: 20.8
Syntax
public static Notification CreateRenameNotification(
	string oldPath,
	string newPath
)

Parameters

oldPath
Type: SystemString
The old path to the indexed document.
newPath
Type: SystemString
The new path to the indexed document.

Return Value

Type: Notification
A new rename notification object.
See Also