【问题标题】:Cannot start indexing with solr in hybris 5.6无法在 hybris 5.6 中使用 solr 开始索引
【发布时间】:2018-05-12 02:55:14
【问题描述】:

我尝试通过 HMC 进行索引,但都因以下错误而中止。

ERROR [coreLoadExecutor-4-thread-1] [CoreContainer] Failed to load file /hybris_extensions/hybris/config/solr/embedded/collection1/solrconfig.xml
ERROR [coreLoadExecutor-4-thread-1] [CoreContainer] Unable to create core: collection1
org.apache.solr.common.SolrException: Could not load config file /hybris_extensions/hybris/config/solr/embedded/collection1/solrconfig.xml
at org.apache.solr.core.CoreContainer.createFromLocal(CoreContainer.java:530)

我已经从 hybris 5.6 以独立模式并使用 linux 机器启动了 solr。

【问题讨论】:

  • 您使用的是嵌入式还是独立的 SOLR 服务器?

标签: solr hybris


【解决方案1】:

hybris 可以在独立或嵌入式模式下运行 solr。在嵌入式模式下运行时,会在目录中创建 SolR 的配置:

hybris/config/solr/embedded/

因此,您的 hybris 服务器需要写入此目录的权限。

进一步阅读: https://wiki.hybris.com/display/release5/SolrFacetSearch+-+Installation+Guide

【讨论】:

  • 我已经在独立模式下启动了 solr (hybris/bin/ext-commerce/solrfacetsearch/resources/solr/server),并将所有文件夹和文件的权限更改为任何人都可以读写。但我仍然面临同样的错误。我用的是linux机器。
  • 嵌入式 solr 用于开发环境。单机或多或少仅用于生产用途。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2019-04-17
  • 2022-01-26
  • 1970-01-01
  • 2021-08-12
  • 2013-09-20
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多