lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Willnauer <simon.willna...@googlemail.com>
Subject Re: Index Concurrent access
Date Tue, 16 Jun 2009 10:03:44 GMT
On Tue, Jun 16, 2009 at 11:59 AM, Michael
McCandless<lucene@mikemccandless.com> wrote:
> Concurrency using multiple threads in a single JRE is perfectly fine
> and strongly encouraged, since modern hardware is very concurrent.
>
> But, concurrent access via different JREs is not supported by Lucene.
> Lucene's write lock will protect the index against such cases, but if
> you bypass the write lock then you will easily corrupt the index if
> two writers are opened at once.
>
> Mike
Mike I guess you mean a single VM (JRE rather refers to a version or
vendor) - Just wanna clarify.

simon
>
> On Tue, Jun 16, 2009 at 5:21 AM, Manish Joshi<mjoshi@zedo.com> wrote:
>> Concurrently adding updating deleting may not be good idea.It may corrupt
>> the index
>> -Manish B. Joshi
>>
>> On Tue, Jun 16, 2009 at 2:33 PM, João Silva <galaio.silva@gmail.com> wrote:
>>
>>> Hi,
>>> how can i access the index in a concurrently way,
>>> so i can perform add/update/delete documents concurrently?
>>>
>>> Cheers,
>>> João
>>>
>>> --
>>> Cumprimentos,
>>> João Carlos Galaio da Silva
>>>
>>
>>
>>
>> --
>> Manish Joshi
>> Adserving Team
>> Zedo India
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message