I can get the standard Solr example to run within Jetty and I can use it
through the velocity templates. I'm now thinking of integrating Solr with a
couple of existing websites. In this regard, I have the following questions:

1. For a medium sized website (about 100+ concurrent users), what is the
most popular way of integrating Solr? For e.g. do you just run Solr on the
same WebServer/Application Server? 

2. If you run Solr on a separate Server, how do you communicate with it from
the Webserver? 

I was thinking of using SolrJ for this. However, I think that each time
there is a Solr request, the server would have to open a connection to the
separate server running Solr. I would be using the Solr Suggester, so for
every keypress into my search box, there would be a separate connection to
the Solr server. Is this OK?

3. If I consider using a separate Solr Server, is there a big difference
between using Jetty vs Tomcat? 

I would prefer to use the embedded Jetty already packaged into Solr. On the
other hand, would Tomcat be better able to handle more concurrent
connections?  I'm looking for a big difference :-) ( because I'm lazy and
would prefer to use the embedded Jetty.)

Thank you in advance for your help
O. O.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Integrating-Solr-with-an-existing-web-application-and-SolrJ-tp4202611.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to