

What it does
A format plugin turns a file into searchable parts. PDF text reads selectable text from PDF pages, so you can find a report by words inside it.Before you start
Open the PDF and try to select and copy a line. For image-only scans, run optical character recognition (OCR) to add a text layer before uploading.Enable it
Single Machine and the standardmake dev stack include the PDF route. On Railway, set QUIVR_DEMO_PLUGINS=1 to enable the optional packaged plugins, including PDF text. For other deployments, pin the plugin with a required route for application/pdf.
Use it
Find a phrase on a PDF page
- Follow Upload a file. Set
media_typetoapplication/pdfin both the upload and the document submission. - When the receipt for your submission reports
availability.searchable: true, use keyword search (mode: lexical) to look for a distinctive line from the PDF. For the sample PDF, search for “heliotrope aurora”. - Check that the sample’s search result has
part_key: page-2. The number is the original page number.
Settings
When you omit these settings, the plugin usesmax_page_parts: 64, max_text_bytes: 131072 and include_source: true. You can keep 1–64 page parts and 1,024–262,144 bytes of UTF-8 text across the PDF.
What it produces
The plugin keeps one searchable text part per page with extractable text, up to the configured cap. Pages beyond that cap join the last part. By default, it also adds a reference to the original PDF.Limits and troubleshooting
- Blank or scanned pages are skipped with an
empty_pageswarning. If no text can be extracted from an otherwise readable PDF, Quivr keeps only the source reference with ano_textwarning. Withinclude_source: false, the same file fails. - A damaged page is skipped with an
unreadable_pageswarning. If every page is unreadable, the plugin refuses the PDF withcorrupt_pdf. - Later text is dropped when the byte cap is reached. If the result points to the last retained part, that part may contain text from several pages.
- If Quivr refuses a damaged or password-protected PDF, upload a corrected PDF as a new version of the same document. Use Reprocess quarantined versions to retry the original file after a plugin-side fix.