mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
chore(mongoMeili.js): update console log messages for indexing in Meilisearch
This commit is contained in:
parent
9cacf76c10
commit
428fd5bed8
1 changed files with 4 additions and 2 deletions
|
|
@ -117,11 +117,13 @@ const createMeiliMongooseModel = function ({ index, attributesToIndex }) {
|
||||||
if (updateOps.length > 0) {
|
if (updateOps.length > 0) {
|
||||||
await this.collection.bulkWrite(updateOps);
|
await this.collection.bulkWrite(updateOps);
|
||||||
console.log(
|
console.log(
|
||||||
`Finished indexing ${primaryKey === 'messageId' ? 'messages' : 'conversations'}`,
|
`[Meilisearch] Finished indexing ${
|
||||||
|
primaryKey === 'messageId' ? 'messages' : 'conversations'
|
||||||
|
}`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('Error adding document to Meili');
|
console.log('[Meilisearch] Error adding document to Meili');
|
||||||
console.error(error);
|
console.error(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue