chore: remove debug line, change example.yml

Set the default meilisearch scope to global
This commit is contained in:
Mar0xy 2023-11-01 00:42:08 +01:00
parent e9fafe9b51
commit a2161ccb53
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 1 additions and 3 deletions

View file

@ -124,7 +124,7 @@ redis:
# apiKey: '' # apiKey: ''
# ssl: true # ssl: true
# index: '' # index: ''
# scope: local # scope: global
# ┌───────────────┐ # ┌───────────────┐
#───┘ ID generation └─────────────────────────────────────────── #───┘ ID generation └───────────────────────────────────────────

View file

@ -129,8 +129,6 @@ export class SearchService {
} }
} }
console.error('meilisearchFound');
await this.meilisearchNoteIndex?.addDocuments([{ await this.meilisearchNoteIndex?.addDocuments([{
id: note.id, id: note.id,
createdAt: this.idService.parse(note.id).date.getTime(), createdAt: this.idService.parse(note.id).date.getTime(),