A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Do file renaming first, since this is the important step, and indexing takes a while.
jonaswinkler1df922ef166b
diff --git a/src/documents/tasks.py b/src/documents/tasks.pyindex f9937c177..ba7010ea9 100644--- a/src/documents/tasks.py+++ b/src/documents/tasks.py@@ -94,7 +94,10 @@ def bulk_update_documents(document_ids):documents = Document.objects.filter(id__in=document_ids)ix = index.open_index()++ for doc in documents:+ post_save.send(Document, instance=doc, created=False)+with AsyncWriter(ix) as writer:for doc in documents:index.update_document(writer, doc)- post_save.send(Document, instance=doc, created=False)