fix(backend): ひとつのMeilisearchサーバーを複数のMisskeyサーバーで使えない問題を修正
This commit is contained in:
@@ -62,6 +62,7 @@ export type Source = {
|
||||
port: string;
|
||||
apiKey: string;
|
||||
ssl?: boolean;
|
||||
index: string;
|
||||
};
|
||||
|
||||
proxy?: string;
|
||||
|
@@ -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',
|
||||
|
Reference in New Issue
Block a user