mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-17 21:38:12 +00:00
Chore: add line to log indexing
This commit is contained in:
1 parent
fea7b0ec8c
commit
b34f9c3b20
1 file changed
+1
@@ -121,6 +121,7 @@ def open_index_searcher() -> Searcher:
|
||||
|
||||
|
||||
def update_document(writer: AsyncWriter, doc: Document):
|
||||
logger.debug(f"Updating index for document {doc.pk}")
|
||||
tags = ",".join([t.name for t in doc.tags.all()])
|
||||
tags_ids = ",".join([str(t.id) for t in doc.tags.all()])
|
||||
notes = ",".join([str(c.note) for c in Note.objects.filter(document=doc)])
|
||||
|
||||
Reference in new issue
Block a user