aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers/searchWorker.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-10-27 09:18:54 +0000
committerMohamed Bassem <me@mbassem.com>2024-10-27 09:18:54 +0000
commit801ba36af5900c84af5a88dea37aa7d2f793fed9 (patch)
tree53f2a84469e93a54459b140c9e064b27155036d1 /apps/workers/searchWorker.ts
parente06a5eab1b4c8e7003357c18c32773564582f8ee (diff)
downloadkarakeep-801ba36af5900c84af5a88dea37aa7d2f793fed9.tar.zst
fix: Index the summary in search
Diffstat (limited to 'apps/workers/searchWorker.ts')
-rw-r--r--apps/workers/searchWorker.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/workers/searchWorker.ts b/apps/workers/searchWorker.ts
index fd0514d6..f793f3f6 100644
--- a/apps/workers/searchWorker.ts
+++ b/apps/workers/searchWorker.ts
@@ -95,6 +95,7 @@ async function runIndex(
: undefined),
...(bookmark.text ? { content: bookmark.text.text } : undefined),
note: bookmark.note,
+ summary: bookmark.summary,
title: bookmark.title,
createdAt: bookmark.createdAt.toISOString(),
tags: bookmark.tagsOnBookmarks.map((t) => t.tag.name),