Text search mongo

db.employees.find({$text: {$search: "Jean Valjean"}}, {score: {$meta: "textScore"}}).sort({score:{$meta:"textScore"}})