Skip to content

Document notes are not included in full-text search #1447

Description

@pooryay21

Describe the bug

Document notes do not appear to be included in Papra's full-text search.

When I add a Note to a document, the note is saved and displayed correctly on the document, but searching for text that exists only within that note does not return the document.

For example:

  1. Add a note to a document containing the text example search phrase.
  2. Save the note.
  3. Search for example search phrase.
  4. The document is not included in the search results.

If the same text is present in the document's extracted content, the document can be found, so this appears to specifically affect the contents of Notes.

What happened?

Expected behavior

Text contained within document Notes should be included in full-text search, so that searching for a word or phrase from a note returns the associated document.

This would make Notes useful for adding additional searchable context or information about a document.

Actual behavior

Text in Notes is not searchable. The document can only be found by searching other indexed fields/content.

System information

  • Papra: 26.6.1
  • Git Commit: 34195e0
  • Commit Date: July 4, 2026
  • Installation: Self-hosted Docker

Where did you encounter the bug?

A self hosted instance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions