Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

update index after import

jonaswinkler0fa3c3188d9c
diff --git a/src/documents/management/commands/document_importer.py b/src/documents/management/commands/document_importer.py
index 344be32be..6df14a82c 100644
--- a/src/documents/management/commands/document_importer.py
+++ b/src/documents/management/commands/document_importer.py
@@ -73,6 +73,9 @@ class Command(Renderable, BaseCommand):
self._import_files_from_manifest()
+ print("Updating search index...")
+ call_command('document_index', 'reindex')
+
@staticmethod
def _check_manifest_exists(path):
if not os.path.exists(path):