mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Revert "Chore: add line to log indexing"
This reverts commit b34f9c3b2083069fdb82eb504de00c222a04ba34.
This commit is contained in:
parent
39998cb34f
commit
b5e4aaa778
@ -121,7 +121,6 @@ def open_index_searcher() -> Searcher:
|
|||||||
|
|
||||||
|
|
||||||
def update_document(writer: AsyncWriter, doc: Document):
|
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 = ",".join([t.name for t in doc.tags.all()])
|
||||||
tags_ids = ",".join([str(t.id) 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)])
|
notes = ",".join([str(c.note) for c in Note.objects.filter(document=doc)])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user