简体   繁体   English

Magento 快速搜索 - 产品未显示

[英]Magento Quick Search - Products Not showing

For some reason when using quick search for some products they don't show in the results.出于某种原因,在使用快速搜索某些产品时,它们不会显示在结果中。 The products do exist and are on stock, enabled etc and can be found on the store from navigating through the catolg, and yes the attribute is set to be searchable be 'catlog, search'产品确实存在并且有库存、已启用等,并且可以通过导航目录在商店中找到,是的,该属性设置为可搜索为“目录日志,搜索”

I've reindexed data, and cleaered the cache.我已经重新索引数据,并清除了缓存。 I've even tried disabling the cache.我什至尝试禁用缓存。

But still can't get it to work, anyone got any more ideas?但仍然无法让它工作,有人有更多的想法吗? I've searched on the forums and other people expreicning same problem, but can't see any decent solutions - or that works for me.我在论坛和其他人搜索过同样的问题,但看不到任何体面的解决方案 - 或者对我有用。

Please help:-)请帮忙:-)

Cheers干杯

Shane谢恩

It's to do with MySQL Full text search being set to 4 chars.这与 MySQL 全文搜索设置为 4 个字符有关。

http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html

In our case we had category-based block caching for the layered navigation, breaking the search result page as no category id was given.在我们的案例中,我们为分层导航提供了基于类别的块缓存,由于没有给出类别 ID,因此破坏了搜索结果页面。

Try to track it down and remove the layered navigation from catalogsearch_result_index by putting comments around it:尝试通过在其周围添加注释来跟踪它并从 catalogsearch_result_index 中删除分层导航:

    <!--<reference name="left">
        <block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
    </reference>-->

You've not got any weird synonyms set have you?你没有设置任何奇怪的同义词吗? Happened on one of my projects when we helpfully imported a load of auto corrected historic search data and had a few oddities imported along with them.当我们帮助导入大量自动更正的历史搜索数据并导入一些奇怪的数据时,这发生在我的一个项目中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM