diff --git a/docs/configuration.md b/docs/configuration.md index b4e200f95..cf055ab29 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -934,10 +934,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 6b8dec659..a318193ef 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)