简体   繁体   English

在Magento 1.14 EE上启用Solr后,产品未显示在类别中

[英]Products not showing up in category after enabling Solr on Magento 1.14 EE

When using Mysqlfulltext products show up in categories accordingly, however when I change the Search Engine to Solr categories show as not having any products. 使用Mysqlfulltext时,产品会相应地显示在类别中,但是当我将搜索引擎更改为Solr时,产品将显示为没有任何产品。 I have re-indexed both via admin and the shell and also tried clearing the cache. 我已经通过admin和shell重新编制了索引,还尝试清除缓存。 The logs don't show any errors. 日志不显示任何错误。

I am using Solr 3.6.2. 我正在使用Solr 3.6.2。 Has anyone come across this issue? 有人遇到过这个问题吗?

Are you using jetty or tomcat? 您正在使用码头还是tomcat? If you are using jetty you need to make sure that Jetty is running by using the command below. 如果您使用码头,则需要使用以下命令确保码头正在运行。

sudo service jetty check

Then you need to start solr and reindex the Magento from shell script. 然后,您需要启动solr并从shell脚本重新索引Magento。

You can refer the below tutorial to install jetty and start solr. 您可以参考以下教程来安装码头并启动solr。

https://www.digitalocean.com/community/tutorials/how-to-install-solr-on-ubuntu-14-04 https://www.digitalocean.com/community/tutorials/how-to-install-solr-on-ubuntu-14-04

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

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