Re: Double Solr Installation on Single Tomcat (or Double Index)

2006-09-07 Thread Przemysław Brzozowski
Tom Weber napisał(a): Hello, I need to have a second separate index (separate data) on the same server. Is there a possibility to do this in a single solr install on a tomcat server or do I need to have a second instance in the same tomcat install ? You will need separate instances

SolrCore as Singleton?

2006-09-07 Thread Joachim Martin
Is there a good reason for implementing SolrCore as a Singleton? We are experimenting with running Solr as a Spring service embedded in our app. Since it is a Singleton we cannot have more than one index (not currently a problem, but could be). I note the comment: // Singleton for now...

Re: SolrCore as Singleton?

2006-09-07 Thread Eivind Hasle Amundsen
If there is no specific reason for making it a Singleton, I'd vote for removing this so that the SolrCore(dataDir, schema) constructor could be used to instantiate multiple cores. I agree with your arguments. However (although being new to Solr) there is more than one way to do it, I think.

Re: SolrCore as Singleton?

2006-09-07 Thread Chris Hostetter
: Is there a good reason for implementing SolrCore as a Singleton? I'm going to sidestep the issue of wether there *was* a good reason for it, as well as the "does the singleton pattern make sense for the current usage" question and answer what i think is an equally significant question: "what ar

Re: SolrCore as Singleton?

2006-09-07 Thread Eivind Hasle Amundsen
Chris Hostetter wrote: I'm going to sidestep the issue of wether there *was* a good reason for it, as well as the "does the singleton pattern make sense for the current usage" question and answer what i think is an equally significant question: "what are the implications of trying to change it no

Re: SolrCore as Singleton?

2006-09-07 Thread Chris Hostetter
: I am currently in the startup phase of my thesis regarding open source : and enterprise search. After having worked at perhaps the leading major : enterprise search company, I have the impression that multiple : collections is a very common feature (and very sought-after). It is a : trend I see

Re: SolrCore as Singleton?

2006-09-07 Thread Otis Gospodnetic
Nice. Is the same doable under Jetty? (never had to deal with JNDI under Jetty) Otis - Original Message From: Chris Hostetter <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, September 8, 2006 1:46:19 AM Subject: Re: SolrCore as Singleton? : I am currently in the star

Re: SolrCore as Singleton?

2006-09-07 Thread Chris Hostetter
: Nice. Is the same doable under Jetty? (never had to deal with JNDI : under Jetty) i haven't tried it personally, but according to Yoav "reading" JNDI options is part of hte Servlet Spec, and billa found a refrene to useing "" to do so... http://www.nabble.com/Re%3A-multiple-solr-webapps-p3991