meilisearch improvements

This commit is contained in:
Danny Avila 2024-05-19 12:16:25 -04:00
parent e55a89270e
commit 5c15b60601
No known key found for this signature in database
GPG key ID: 2DD9CC89B9B50364
2 changed files with 4 additions and 24 deletions

View file

@ -155,7 +155,7 @@ const createMeiliMongooseModel = function ({ index, attributesToIndex }) {
function (results, value, key) {
return { ...results, [key]: 1 };
},
{ _id: 1 },
{ _id: 1, __v: 1 },
),
).lean();