com.groupdocs.search

Class Notification



  • 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 Detail

      • Notification

        public Notification()
    • Method Detail

      • createRenameNotification

        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:
        oldPath - The old path to the indexed document.
        newPath - The new path to the indexed document.
        Returns:
        A new rename notification object.