mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-09-19 16:08:32 +00:00
Docs: expand search section with custom field, notes, and tokenization examples
Adds word-order, accent-insensitivity, and separator-agnostic notes to the intro, then new subsections covering custom_fields.name/value query syntax with tokenization examples and a limitation note for custom date fields, plus a notes.user/notes.note subsection. Also prefetch document versions during index_reindex. Co-Authored-By: Antoine Mérino <3023499+Merinorus@users.noreply.github.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Antoine Mérino
Claude Sonnet 4.6
parent
8107b7d209
commit
6699679c29
@@ -97,7 +97,7 @@ def index_reindex(*, iter_wrapper: IterWrapper[Document] = _identity) -> None:
|
||||
"document_type",
|
||||
"storage_path",
|
||||
"owner",
|
||||
).prefetch_related("tags", "notes", "custom_fields")
|
||||
).prefetch_related("tags", "notes", "custom_fields", "versions")
|
||||
get_backend().rebuild(documents, iter_wrapper=iter_wrapper)
|
||||
reset_backend()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user