Magento:如何使用 catalogsearch/query 模型查找没有图像的产品?

Magento: how to use catalogsearch/query model to find products without images?

这是我的代码:

$catalogSearchModel = Mage::getModel('catalogsearch/query')->setQueryText($q);
$catalogSearchModelCollection = $catalogSearchModel->getResultCollection();
$catalogSearchModelCollection->getSelect()->limit(5);
$results = $catalogSearchModelCollection->getData();

我应该添加什么才能只找到带图片的产品?

对有图片的产品使用以下代码。

$catalogSearchModel = Mage::getModel('catalogsearch/query')->setQueryText($q);
 $catalogSearchModelCollection = $catalogSearchModel->getResultCollection();
 $catalogSearchModelCollection->addAttributeToFilter('image', array('neq' => 'no_selection');
 $catalogSearchModelCollection->getSelect()->limit(5);
 $results = $catalogSearchModelCollection->getData();