我构建了一个连接到本地MongoDB的快速后端 当我创建一个post来查找特定的术语时,它返回如下错误 MongoError: text index required for $text query 如何修复此错误? 这是我的Express代码 app.post("/api/search",(req,res)=> {
const term = req.body.searchTerm;
console.log(term); // Here I can check the request coming well
MongoClient.conn