mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
update index after import
This commit is contained in:
parent
ebcb2cf694
commit
0fa3c3188d
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user