From 4aa432148c0955554b68da83b481cabba357189c Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Fri, 24 Jul 2026 09:42:15 -0700 Subject: [PATCH] Updates the documentation to be correct about the respecting now --- docs/configuration.md | 9 +++++---- docs/migration-v3.md | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 6529791f0..d361ac49c 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -948,10 +948,11 @@ for display in the web interface. !!! note - The **remote OCR parser** (Azure AI) always produces a searchable - PDF and stores it as the archive copy, regardless of this setting. - `ARCHIVE_FILE_GENERATION=never` has no effect when the remote - parser handles a document. + The **remote OCR parser** (Azure AI) also honors this setting: when + no archive is requested (`never`, or `auto` with a born-digital PDF), + the remote engine is skipped entirely and locally-extracted text is + used instead, avoiding an unnecessary API call and a duplicate text + layer. #### [`PAPERLESS_OCR_CLEAN=`](#PAPERLESS_OCR_CLEAN) {#PAPERLESS_OCR_CLEAN} diff --git a/docs/migration-v3.md b/docs/migration-v3.md index 7370de977..1cfcd05fe 100644 --- a/docs/migration-v3.md +++ b/docs/migration-v3.md @@ -187,10 +187,11 @@ PAPERLESS_ARCHIVE_FILE_GENERATION=auto ### Remote OCR parser -If you use the **remote OCR parser** (Azure AI), note that it always produces a -searchable PDF and stores it as the archive copy. `ARCHIVE_FILE_GENERATION=never` -has no effect for documents handled by the remote parser - the archive is produced -unconditionally by the remote engine. +If you use the **remote OCR parser** (Azure AI), `ARCHIVE_FILE_GENERATION` is +honored the same way as for the local engine: when no archive is requested +(`never`, or `auto` with a born-digital PDF), the remote engine is skipped +entirely and locally-extracted text is used instead, avoiding an unnecessary +API call and a duplicate text layer. ## Search Index (Whoosh -> Tantivy)