已经安装好了
在搜索的时候,发生以下错误:
Unable to execute query: error processing query: ns=fecshop.full_search_product_en limit=1000 skip=0
Tree: $and
status == 1
TEXT : query=uu, language=, tag=NULL
Sort: { search_score: { $meta: "textScore" }, score: -1 }
Proj: { search_score: { $meta: "textScore" }, id: true, spu: true, score: true, product_id: true }
planner returned error: need exactly one text index for $text query
↵
Caused by: MongoDB\Driver\Exception\RuntimeException
已经尝试了以下的方法:
composer依赖项更新,"yiisoft/yii2-mongodb": "dev-master"