Interface IndexListener


  • public interface IndexListener
    Defines an interface that allows implementing classes to listen for index changes (namely document deletes) while using a ReadOnlyIndexReader.
    • Method Detail

      • documentDeleted

        void documentDeleted​(org.apache.lucene.index.Term id)
        Informs this listener, that the document with id has been deleted.
        Parameters:
        id - the Term that identifies the deleted document.