【发布时间】:2014-07-31 20:48:12
【问题描述】:
好的,我一直在关注this tutorial,将 Solr 安装在服务器上并通过 Drupal 进行访问。我的问题是我将 Solr 放置在正确的位置吗?
我知道我的 Java 工作正常,使用 java -version 进行测试
我知道我的 Tomcat 可以工作,用 service tomcat6 start: Starting tomcat6 [ OK ] 测试过
注意:虽然我无法通过 http:website.com:8080 访问 Tomcat(我保留了默认端口)
我当前的设置如下:
/usr/bin/java (Java installation - via yum)
/usr/share/tomcat6 (Tomcat installation - via yum)
/opt/solr (Solr Instance Installation - manually)
/opt/share/tomcat6/solr/drupal-solr (One Solr Core - manually)
/home/website1/public_html (just a site - I'd like to use Solr here)
/home/website2/public_html (just another site)
/home/website3/public_html (just another site)
如上所述,“Solr 能够提供多个搜索索引或核心,只需使用一个 Solr 应用程序实例。每个核心都是独立配置的,并且有是定义每个内核的单个配置文件。”
假设我的网站 1 是否需要访问我的 Solr 核心之一。这个核心需要安装在...
/home/website1/ (where my Solr Core should be?)
/home/website1/public_html (my website files - drupal install)
...对吗? ...或者我可以将我的 Solr 和其他所有东西都安装在我所有网站的根目录 above 中吗?
【问题讨论】: