Re: Solr Locking Issue

2008-12-06 Thread Grant Ingersoll
Typically this is handle through Solr's built-in replication capabilities.This is commonly referred to as a master/slave or master/worker setup whereby indexing takes place in one instance of Solr, and then the worker nodes pull snapshots from the master on a regular basis (I've seen pe

Re: Solr Locking Issue

2008-12-06 Thread Rinesh1
Hi Grant, Q.Why do you need two web apps pointing to the same Solr data directory? A.I am planning to deploy solr in a load balanced environment where there will be 3 web servers and 3 app servers.So there will be solr web app deployed in 3 app servers and there will be 1 SOLR_DATA fold

Re: Solr Locking Issue

2008-12-06 Thread Grant Ingersoll
In Lucene (hence Solr) only one IndexWriter may write to an index at a time (by design), so pointing two separate Solr instances at the same index will result in the lock issue you describe. I guess the question back to you is, why do you need two web apps pointing to the same Solr data dir

Re: Solr Locking Issue

2008-12-06 Thread Rinesh1
Hi, Just adding some additional steps I have tried. I have tried the following scenarios for testing this. FIRST 1.Index 5000 docs to solr using the FIRST web app 2.send a commit command from the SECOND web app 3.Tried indexing docs from the SECOND web app.

Re: Solr locking issue? BLOCKED on lock=org.apache.lucene.store.FSDirectory

2008-11-11 Thread Yonik Seeley
On Tue, Nov 11, 2008 at 3:35 PM, Burton-West, Tom <[EMAIL PROTECTED]> wrote: > Hi Yonik, > > Thanks for the NIO suggestion. We are using Linux, but our indexes are > NFS mounted. That may be your biggest performance problem right there - try on a local index and see what the difference is. > I t

Re: Solr locking issue? BLOCKED on lock=org.apache.lucene.store.FSDirectory

2008-11-11 Thread Otis Gospodnetic
.org Cc: "Farber, Phillip" <[EMAIL PROTECTED]> Sent: Tuesday, November 11, 2008 3:35:20 PM Subject: RE: Solr locking issue? BLOCKED on lock=org.apache.lucene.store.FSDirectory Hi Yonik, Thanks for the NIO suggestion. We are using Linux, but our indexes are NFS mounted. I though

RE: Solr locking issue? BLOCKED on lock=org.apache.lucene.store.FSDirectory

2008-11-11 Thread Burton-West, Tom
lto:[EMAIL PROTECTED] On Behalf Of Yonik Seeley Sent: Friday, November 07, 2008 8:25 PM To: solr-user@lucene.apache.org Cc: Farber, Phillip Subject: Re: Solr locking issue? BLOCKED on lock=org.apache.lucene.store.FSDirectory Hi Tom, if you're on a non Windows box, could you perhaps try your test on

Re: Solr locking issue? BLOCKED on lock=org.apache.lucene.store.FSDirectory

2008-11-07 Thread Yonik Seeley
Hi Tom, if you're on a non Windows box, could you perhaps try your test on the latest Solr nightly build? We've recently improved this through the use of NIO. -Yonik On Fri, Nov 7, 2008 at 4:23 PM, Burton-West, Tom <[EMAIL PROTECTED]> wrote: > Hello, > > We are testing Solr with a simulation of