Drupal 在另一台机器上外部使用 Solr?
我想将 Drupal solr 搜索模块与托管在外部计算机上的 Apache Solr 搜索一起使用。我知道 Acquia 提供此服务。但这对我来说不是一个负担得起的选择。我想在一个便宜的 VPS 上安装 Solr,并让位于不同主机上的所有各种 Drupal 站点访问搜索功能。我是不是找错了树?
I'd like to use the Drupal solr search module with the Apache Solr Search hosted on an external machine. I know that Acquia offer this as a service. But it's not an affordable option for me. I'd like to install Solr on an inexpensive VPS and have all my various Drupal sites which are on different hosts accessing the search functions. Am I barking up the wrong tree?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mauricio 提出的问题是有效的,但是我确信可以在单独的服务器上设置 solr 服务器而不会出现问题,原因有两个。
1.我们目前正在使用这样的设置。
2. acquia.com 提供 solr 作为服务(如果您不想运行或设置自己的 solr 服务器,这可能是一个很好的解决方案)。
我们目前使用单独的 solr 服务器,因为它与 Web 服务器位于同一本地网络(均位于 Rackspace 云上),所以不存在延迟问题。
安全性是一个问题,不应掉以轻心,因为 solr 的内置功能很少。
最简单的安全设置类型是将 solr 服务器的访问限制为仅 Web 服务器。然而,还有更灵活的安全解决方案,但它们可能需要更多的设置。
The issues that Mauricio brings up are valid, however I'm certain that it's possible to set up a solr server on a separate server without problems for 2 reasons.
1. we are currently using such a setup.
2. acquia.com offers solr as a service (which might be a good solution for you if you don't want to deal with running or setting up your own solr server).
We are currently using a seperate solr server, and because it is in the same local network as the webserver (both on Rackspace cloud) there are no latency issues.
Security is a concern and should not be taken lightly since solr is has very little built in.
The easiest type of security to setup is limiting access to the solr server to only the webserver. There are however more flexible security solutions, but they will probably take some more setting up.
当然,你可以这样做。但请记住以下几点:
Sure, you can do that. But keep these things in mind: