Interface SearchIndex

    • Method Detail

      • addUpdateIndex

        void addUpdateIndex​(Transaction transaction,
                            ResourceHeaders resourceHeaders)
        Adds or updates the index with the resource header information.
        Parameters:
        transaction - The externally generated transaction.
        resourceHeaders - The resource headers associated with the resource
      • removeFromIndex

        void removeFromIndex​(Transaction transaction,
                             FedoraId fedoraId)
        Removes indexed fields associated with the specified Fedora ID
        Parameters:
        transaction - The transaction
        fedoraId - The Fedora ID
      • reset

        void reset()
        Remove all persistent state associated with the index.
      • commitTransaction

        void commitTransaction​(Transaction tx)
        Commit the changes made in the transaction.
        Parameters:
        tx - The transaction .