Hi Shalin,
I am trying to do the same point again. You suggested to use HTTP for
replication.
But for performance reasons I want to use embedded. And because replication
is not available with embedded approach, I am trying this i.e. from two
different web applications (same network) using embedded solr giving same
data dir. just trying to index.
Thanks,
Ashish


Shalin Shekhar Mangar wrote:
> 
> On Thu, May 28, 2009 at 2:54 PM, Ashish P <ashish.ping...@gmail.com>
> wrote:
> 
>>
>> Hi,
>> I am committing to same index from two different embedded servers.
>> My locktype is simple and writelocktimeout is commitLockTimeout is
>> 100000.
>>
>> I read in a post "Update from multiple JVMs" where Hoss said this case is
>> supported but I am getting following error. I tried single lock also but
>> again same error. Is there anything I can do..
>>
>>
> One of us has definitely mis-understood Hoss. I don't think you can
> simultaneously write to the same index from two different embedded solr.
> You
> can certainly read from both and you can write from one of them.
> 
> The first email from Hoss said that you can update from two JVMs by
> posting
> requests through http. If you try to write directly to the same index,
> only
> one can do at one time. Simultaneous requests may fail.
> 
> What is the use-case behind this?
> 
> -- 
> Regards,
> Shalin Shekhar Mangar.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/lock-issue-tp23758268p23758544.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to