Added progress callback on document indexing