Magento错误:返回搜索中的所有产品


Magento bug : Returning all products in search

http://ametrade.dev.icyberking.com

这是我的网站,我整天都在为我的搜索工作而努力,目前工作的是我搜索的任何内容,无论你使用了什么关键词,它都会返回网站上的所有产品,我也在谷歌上搜索过,发现使描述和简短描述不可搜索可能有助于使结果更准确,但这对我没有帮助。如果有人以前有任何情况的经验,请分享

我使用的是磁电机1.7版本。谢谢

在谷歌上搜索了更多内容后,我找到了解决问题的方法转到文件app''code''core''Mage''CatalogSearch''Plock''

现在搜索此方法setListCollection()。

public function setListCollection()
{
//        $this->getListBlock()
//           ->setCollection($this->_getProductCollection());
return $this;
}
replace below code
public function setListCollection()
{
$this->getListBlock()
->setCollection($this->_getProductCollection());
return $this;
}

这是实际的解决方案链接。。。。http://developerview.wordpress.com/2012/08/08/magento-search-not-returning-expected-results/