mongoose-query-parser
mongoose-query-parser copied to clipboard
support of mongo $text index search
It would be a nice feature to enrich the mongoose query parser in order to support a search with the $text index of mongo. An example query:
await Model.find( { $text : { $search : "text to look for" } }, { score : { $meta: "textScore" } } ) .sort({ score : { $meta : 'textScore' } })
Very nice work. Keep going.
Thank you.