Skip to content

Commit

Permalink
fix meilisearch
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Oct 18, 2023
1 parent 98751ef commit 7df0696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/core/SearchService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class SearchService {
) {
if (meilisearch) {
this.meilisearchNoteIndex = meilisearch.index(`${config.meilisearch!.index}---notes`);
/*this.meilisearchNoteIndex.updateSettings({
this.meilisearchNoteIndex.updateSettings({
searchableAttributes: [
'text',
'cw',
Expand All @@ -100,7 +100,7 @@ export class SearchService {
pagination: {
maxTotalHits: 10000,
},
});*/
});
}

if (config.meilisearch?.scope) {
Expand Down

0 comments on commit 7df0696

Please sign in to comment.