Added a task to index all documents