【发布时间】:2014-11-05 11:57:24
【问题描述】:
在描述我的问题之前,我想描述一下我的架构和我的计划。
我在 6 台名为 hybris01-hybris06 的虚拟机上安装了 6 台 Hybris 服务器。 它们都聚集在一起,可以互相看到。 我遵循了这些说明:
https://wiki.hybris.com/display/release5/SolrFacetSearch+-+Installation+Guide 并进行了以下设置:
我去了hybris/bin/ext-commerce/solrfacetsearch/resources/solr/server/并配置了solr.xml和conf/solrconfig.xml。
特别是在最后一个我添加了这些行:
<solrconfig>
<mode>standalone</mode>
</solrconfig>
<clusterconfig>
<aliveCheckInterval>5000</aliveCheckInterval>
<connectionTimeout>5000</connectionTimeout>
<readTimeout>5000</readTimeout>
<endpointURLs>
<endpointURL master="true">hybris05:8983/solr</endpointURL>
<endpointURL>hybris06:8983/solr</endpointURL>
</endpointURLs>
</clusterconfig>
我还把这个写到 local.properties 中:
solr.server.env=prod
solr.server.mode=standalone
solr.server.endpointURL=hybris05:8983/solr // and 06 on the other Server
但我看到的是“使用系统属性 solr.solr.home: /opt/hybris/config/solr/embedded”
现在我不确定每个 Hybris 实例是使用嵌入式还是独立的。
我怎样才能找到这个?
你好
【问题讨论】:
标签: solr cluster-computing hybris