Master work. This is exactly what I'm looking for. Now I'm happy :)

Gr, Reza

On May 22, 2009, at 4:23 PM, Otis Gospodnetic wrote:


Reza,

You can't have multiple Solr instances write to the same index at the same time. But you can add documents to a single Solr instance in parallel (e.g. from multiple threads of one or more applications) and Solr will do the right thing without you having to put JMS or some other type of queue in front of Solr.


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
From: Reza Safari <r.saf...@lukkien.com>
To: solr-user@lucene.apache.org
Sent: Friday, May 22, 2009 6:17:56 AM
Subject: Solr in cluster

Hi,

One of the problems I have with Lucene is Lock obtained by the IndexWriter. I want to use one Solr running inside a cluster behind the load balancer. Are multiple webservers able to write and commit to Lucene using Solr with out locking issues etc? Is Solr the solution for concurrency problem or do I have to use some JMS queue or something to update/commit? I can use synchronization technics to fix concurrency problems on one webserver but on more than one
webserver, I think that you what I mean.

Gr, Reza

--
Reza Safari
LUKKIEN
Copernicuslaan 15
6716 BM Ede

The Netherlands
---------------------------------------------
http://www.lukkien.com
t: +31 (0) 318 698000

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of
the email by you is prohibited.



--
Reza Safari
LUKKIEN
Copernicuslaan 15
6716 BM Ede

The Netherlands
---------------------------------------------
http://www.lukkien.com
t: +31 (0) 318 698000

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.














Reply via email to