mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Chore: add line to log indexing
This commit is contained in:
parent
fea7b0ec8c
commit
b34f9c3b20
@ -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)])
|
||||
|
Loading…
x
Reference in New Issue
Block a user