From 26d85c8bed71ba7b41dadeda26c674fa24c6b298 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 11 May 2023 16:33:39 +0900 Subject: [PATCH] =?UTF-8?q?enhance(backend):=20=E3=83=8E=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=81=AE=E3=83=8F=E3=83=83=E3=82=B7=E3=83=A5=E3=82=BF=E3=82=B0?= =?UTF-8?q?=E3=82=82Meilisearch=E3=81=AB=E7=AA=81=E3=81=A3=E8=BE=BC?= =?UTF-8?q?=E3=82=80=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 今後ハッシュタグ検索とか実装するときのため --- packages/backend/src/core/SearchService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/backend/src/core/SearchService.ts b/packages/backend/src/core/SearchService.ts index e68fde088d..c5b91197cd 100644 --- a/packages/backend/src/core/SearchService.ts +++ b/packages/backend/src/core/SearchService.ts @@ -82,6 +82,7 @@ export class SearchService { 'userId', 'userHost', 'channelId', + 'tags', ], typoTolerance: { enabled: false, @@ -107,6 +108,7 @@ export class SearchService { channelId: note.channelId, cw: note.cw, text: note.text, + tags: note.tags, }], { primaryKey: 'id', });