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
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
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
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.
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
.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
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
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