Indexing Document Asynchonously(onaccept) and Deleting the indexex ascychrnously(ondelete)