From b5a11798a3f93fde7eaa87aa2a550162f6229ed9 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Mon, 24 Aug 2026 22:47:53 +0100 Subject: [PATCH] feat: index txt attachments for content search --- .../server/src/core/attachment/services/attachment.service.ts | 4 ++-- apps/server/src/ee | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/server/src/core/attachment/services/attachment.service.ts b/apps/server/src/core/attachment/services/attachment.service.ts index 710f9d10b..2db13c817 100644 --- a/apps/server/src/core/attachment/services/attachment.service.ts +++ b/apps/server/src/core/attachment/services/attachment.service.ts @@ -116,8 +116,8 @@ export class AttachmentService { }); } - // Only index PDFs and DOCX files - if (['.pdf', '.docx'].includes(attachment.fileExt.toLowerCase())) { + // Only index PDF, DOCX and TXT files + if (['.pdf', '.docx', '.txt'].includes(attachment.fileExt.toLowerCase())) { await this.attachmentQueue.add( QueueJob.ATTACHMENT_INDEX_CONTENT, { diff --git a/apps/server/src/ee b/apps/server/src/ee index 1ab61e594..3c198edfa 160000 --- a/apps/server/src/ee +++ b/apps/server/src/ee @@ -1 +1 @@ -Subproject commit 1ab61e594f5b6259e0f66feb8519377040c57acd +Subproject commit 3c198edfa02569393b954a2a77b9d1e4c1f566db