简体   繁体   English

Apache和Apache Solr一起

[英]Apache and Apache Solr together

I've got a question: I came across Apache Solr as requirement for a module I'm installing and even after reading the documentation on Apache Solr's official homepage I'm still not sure whether Apache runs alongside regular Apache or does it require it own server? 我有一个问题:我遇到了Apache Solr,这是我正在安装的模块的要求,即使在阅读了Apache Solr官方主页上的文档后,我仍然不确定Apache是​​否与常规Apache一起运行,还是需要它自己运行服务器? If it does work alongside Apache, is there any known issues/problems that I should be aware of? 如果它可以与Apache一起使用,那么我应该注意哪些已知问题/问题? How would this architecture (Apache and Apache Solr) in terms of file system and serving pages? 就文件系统和服务页面而言,这种架构(Apache和Apache Solr)如何? I'm sorry if the question might sound silly but I'm very new to the whole server-side programming/setup world. 如果这个问题听起来很傻,我感到很抱歉,但是对于整个服务器端编程/设置领域,我还是一个新手。

You will need to install Tomcat or some other container to install Solr on a Linux box. 您将需要安装Tomcat或其他容器才能在Linux机器上安装Solr。 Tomcat and Solr can be installed along side regular Apache web server, or you can use a different server. Tomcat和Solr可以与常规Apache Web服务器一起安装,也可以使用其他服务器。

I have done both, installed Solr on same server as well as use different server. 我都做过,将Solr安装在同一服务器上,也使用不同的服务器。 Both work fine. 两者都很好。 It comes down to your scale, requirements, budget and other factors. 它取决于您的规模,需求,预算和其他因素。

In the attached diagram1 Solr runs under Tomcat on same server as Apache web server 在所附的关系图中, Solr在Tomcat下与Apache Web服务器在同一服务器上运行 Solr基本架构,在Tomcat下与Web服务器在同一服务器上运行

In the attached diagram2 Solr runs under Tomcat on different server than Apache web server. 在附图2中, Solr在Tomcat下与Apache Web服务器不同的服务器上运行。 Here we have a separate server for Solr. 在这里,我们为Solr提供了一个单独的服务器。 Solr基本架构,在Tomcat下运行,在与Web服务器不同的服务器上

Let me know if you have any more questions about architecture. 让我知道您是否还有关于建筑的疑问。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM