日志
exception 'MongoDB\Driver\Exception\RuntimeException' with message 'text index required for $text query' in D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2-mongodb\Command.php:286
Stack trace:
#0 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2-mongodb\Command.php(286): MongoDB\Driver\Manager->executeQuery('fecshop.full_se...', Object(MongoDB\Driver\Query), Object(MongoDB\Driver\ReadPreference))
#1 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2-mongodb\Command.php(614): yii\mongodb\Command->query('find('find('[call('getSearchProductColl('[actionGetSearchProductColl('[call('getSearchProductColl('[getSearchProductColl()
#13 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\fancyecommerce\fecshop\app\appfront\modules\Catalogsearch\controllers\IndexController.php(28): fecshop\app\appfront\modules\Catalogsearch\block\index\Index->getLastData()
#14 [internal function]: fecshop\app\appfront\modules\Catalogsearch\controllers\IndexController->actionIndex()
#15 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array('[runAction('runAction('handleRequest(Object(fecshop\yii\web\Request))
#20 D:\myphp_www\PHPTutorial\WWW\fecshop\appfront\web\index.php(90): yii\base\Application->run()
#21 {main}