将 ColdFusion 11 连接到远程 Solr

Connect ColdFusion 11 to Remote Solr

我在 "connecting" 我的独立 Solr 服务器到我的 ColdFusion 11 Enterprise 服务器时遇到了问题。似乎我在 CFIDE 管理中有正确的基本 Solr 服务器信息,但 ColdFusion 没有列出 Solr 服务器上存在的任何 collections/cores。另外,我无法使用 ColdFusion 管理图形用户界面创建新的 collections/cores。

在CFIDE Admin中我设置了Solr服务器信息如下:

Solr Host Name: 172.xx.xxx.xx
Solr Home: /opt/bitnami/apache-solr/solr
Solr Admin Port: 8983
Solr Webapp: solr
Solr Buffer Limit: 40
User name: [blank]
Password: [blank]
Solr Connection: [ ] Use HTTPS connection (not checked)
Solr Admin HTTPS Port: 0 (not using HTTPS at this time)

这是我尝试创建新集合时在 CFIDE 管理中看到的内容:

Unable to create collection test-collection. Unable to create Solr collection test-collection. An error occurred while creating the collection: org.apache.solr.common.SolrException. Check the Solr logs for more detail.

这是我在 Solr 日志中看到的相同操作:

CoreContainer
Error creating core [test-collection]: Could not load conf for core test-collection: Error loading solr config from /opt/bitnami/apache-solr/solr/test-collection/conf/solrconfig.xml

SolrCore
org.apache.solr.common.SolrException: Error CREATEing SolrCore 'test-collection': Unable to create core [test-collection] Caused by: Can't find resource 'solrconfig.xml' in classpath or '/opt/bitnami/apache-solr/solr/test-collection/conf'

我已经搜索了很长时间,但没有找到任何可以帮助我将 ColdFusion 11 连接到远程 Solr 服务器的东西。我非常感谢你能给我的任何帮助。提前谢谢你。

我联系了 Adob​​e 并(令人惊讶地)得到了一些帮助。他们说 ColdFusion 官方不支持非 ColdFusion Solr 服务器。

最后我们只是安装了包含 ColdFusion 的 Solr 服务器(当然是通过重新安装 ColdFusion)。

此外,他们说 ColdFusion 中包含的 Solr 服务器是 3.4.x 版本。 ColdFusion Stand-alone Solr 服务器是同一版本。我们可能已经安装了 CF 独立服务器,但为了简单起见选择了本地服务器(毕竟我们已经经历了所有的麻烦)。

附带说明一下,可以将不同的 Solr 服务器与 ColdFusion 一起使用,但您必须独立于 ColdFusion 管理该服务器。然后您可以使用 <cfhttp>.

查询服务器