summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/SearchService.ts
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2023-05-11 21:09:29 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2023-05-11 21:09:29 +0900
commit1cc106b8de558b867adbd545310b9e43f314c0fa (patch)
treef9687447eb2aeeb0f577eba0465ea81c5fb25f8d /packages/backend/src/core/SearchService.ts
parentUpdate CHANGELOG.md (diff)
downloadsharkey-1cc106b8de558b867adbd545310b9e43f314c0fa.tar.gz
sharkey-1cc106b8de558b867adbd545310b9e43f314c0fa.tar.bz2
sharkey-1cc106b8de558b867adbd545310b9e43f314c0fa.zip
fix(backend): ひとつのMeilisearchサーバーを複数のMisskeyサーバーで使えない問題を修正
Diffstat (limited to 'packages/backend/src/core/SearchService.ts')
-rw-r--r--packages/backend/src/core/SearchService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/core/SearchService.ts b/packages/backend/src/core/SearchService.ts
index c5b91197cd..9502afcc9b 100644
--- a/packages/backend/src/core/SearchService.ts
+++ b/packages/backend/src/core/SearchService.ts
@@ -68,7 +68,7 @@ export class SearchService {
private idService: IdService,
) {
if (meilisearch) {
- this.meilisearchNoteIndex = meilisearch.index('notes');
+ this.meilisearchNoteIndex = meilisearch.index(`${config.meilisearch!.index}---notes`);
this.meilisearchNoteIndex.updateSettings({
searchableAttributes: [
'text',