Notification class
Leave feedback
On this page
The base class for all notifications to the index. This class also contains methods for creating notification objects.
Learn more
The Notification type exposes the following members:
| Method | Description |
|---|---|
| create_rename_notification | Creates a rename notification for an indexed document that has been renamed and should not be reindexed during the next update operation. |
from groupdocs.search.common import Notification
old_document_path = "old.docx"
new_document_path = "new.docx"
notification = Notification.create_rename_notification(old_document_path, new_document_path)
result = index.notify(notification)
print("Notification applied:", result)
- module
groupdocs.search.common
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.