Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Magento Solr拼写检查和建议器配置_Magento_Solr - Fatal编程技术网

Magento Solr拼写检查和建议器配置

Magento Solr拼写检查和建议器配置,magento,solr,Magento,Solr,我正在尝试在本地服务器上将solr与MagentoEE1.14集成 到目前为止我做了什么? 已安装solr 3.6.2 将文件从magentoroot/lib/Apache/Solr/Conf复制到solrroot/example/Solr/Conf 已启动start.jar文件 通过cmd重新索引所有数据 在solrconfig.xml中,我的默认搜索是 sku 在Magento中,它可以很好地进行拼写检查 我遇到了什么问题? 当我在solr管理面板中输入:*:并点击搜索时,我在本地主机

我正在尝试在本地服务器上将solr与MagentoEE1.14集成

到目前为止我做了什么?

  • 已安装solr 3.6.2
  • 将文件从magentoroot/lib/Apache/Solr/Conf复制到solrroot/example/Solr/Conf
  • 已启动start.jar文件
  • 通过cmd重新索引所有数据
  • 在solrconfig.xml中,我的默认搜索是
    sku
    
    在Magento中,它可以很好地进行拼写检查
我遇到了什么问题?

当我在solr管理面板中输入:*:并点击搜索时,我在本地主机上得到404:8983/solr/select/?q=%3A*%3A&version=2.2&start=0&rows=10&indent=on

Problem accessing /solr/select/. Reason:

null
如果我点击localhost:8983/solr/spell?q=abc%20ultrashar&spellcheck=true&spellcheck.collate=true&spellcheck.build=true,它会给出错误500

Problem accessing /solr/spell. Reason:

    null

我想通过solrconfig.xml和schema.xml为大多数产品属性(名称、sku、价格、数量等)配置搜索、拼写检查、自动完成和方面,但我不知道所有修改都需要做什么。有人能建议我如何修改Magento吗?

我也遇到了同样的问题。我发现这个url很有帮助。您不必更改任何Solr配置。您需要修改主题以包含文件,以允许站点控制结果的输出。基本上,您需要在主题中包含recommunications.phtml和recommunications.phtml