mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-22 21:33:08 +02:00
chore: remove debug line, change example.yml
Set the default meilisearch scope to global
This commit is contained in:
parent
e9fafe9b51
commit
a2161ccb53
2 changed files with 1 additions and 3 deletions
|
@ -124,7 +124,7 @@ redis:
|
||||||
# apiKey: ''
|
# apiKey: ''
|
||||||
# ssl: true
|
# ssl: true
|
||||||
# index: ''
|
# index: ''
|
||||||
# scope: local
|
# scope: global
|
||||||
|
|
||||||
# ┌───────────────┐
|
# ┌───────────────┐
|
||||||
#───┘ ID generation └───────────────────────────────────────────
|
#───┘ ID generation └───────────────────────────────────────────
|
||||||
|
|
|
@ -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(),
|
||||||
|
|
Loading…
Reference in a new issue