RE: SolrServer instances

2011-08-29 Thread Jaeger, Jay - DOT
all. JRJ -Original Message- From: François Schiettecatte [mailto:fschietteca...@gmail.com] Sent: Friday, August 26, 2011 6:12 AM To: solr-user@lucene.apache.org Subject: Re: SolrServer instances Sounds to me that you are looking for HTTP Persistent Connections (connection keep-alive as

Re: SolrServer instances

2011-08-26 Thread François Schiettecatte
Sounds to me that you are looking for HTTP Persistent Connections (connection keep-alive as opposed to close), and a singleton object. This would be outside SOLR per se. A few caveats though, I am not sure if tomcat supports keep-alive, and I am not sure how SOLR deals with multiple requests co

Re: SolrServer instances

2011-08-25 Thread Jonty Rhods
do I also required to close the connection from solr server (CommonHttpSolrServer). regards On Fri, Aug 26, 2011 at 9:45 AM, Jonty Rhods wrote: > Deal all please help I am stuck here as I have not much experience.. > > thanks > > On Thu, Aug 25, 2011 at 6:51 PM, Jonty Rhods wrote: > >> Hi All,

Re: SolrServer instances

2011-08-25 Thread Jonty Rhods
Deal all please help I am stuck here as I have not much experience.. thanks On Thu, Aug 25, 2011 at 6:51 PM, Jonty Rhods wrote: > Hi All, > > I am using SolrJ (3.1) and Tomcat 6.x. I want to open solr server once (20 > concurrence) and reuse this across all the site. Or something like > connect

SolrServer instances

2011-08-25 Thread Jonty Rhods
Hi All, I am using SolrJ (3.1) and Tomcat 6.x. I want to open solr server once (20 concurrence) and reuse this across all the site. Or something like connection pool like we are using for DB (ie Apache DBCP). There is a way to use static method which is a way but I want better solution from you pe

Reusing SolrServer instances when swapping cores

2011-07-28 Thread Michael Szalay
Hi all We work with two cores ("active" and "passive") and swap them when the reindexing was finished. Is it allowed to reuse the same instance of the SolrServer (both Embedded and Common)? I.E. do they point to the "other" core after the swapping? Regards Michael -- Michael Szalay Senior So