fix(backend): ひとつのMeilisearchサーバーを複数のMisskeyサーバーで使えない問題を修正
This commit is contained in:
parent
16eedb86a5
commit
1cc106b8de
7 changed files with 11 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue