Reindexing documents in background