Added async processes for document indexing