diff --git a/mayan/apps/document_indexing/tools.py b/mayan/apps/document_indexing/tools.py index f0517e2488..71470eb25e 100644 --- a/mayan/apps/document_indexing/tools.py +++ b/mayan/apps/document_indexing/tools.py @@ -3,7 +3,7 @@ from __future__ import absolute_import from documents.models import Document from .api import index_document -from .models import Index, IndexInstanceNode +from .models import IndexInstanceNode def do_rebuild_all_indexes(): @@ -11,5 +11,4 @@ def do_rebuild_all_indexes(): instance_node.delete() for document in Document.objects.all(): - # TODO: Launch all concurrently as background tasks index_document(document)