On Tue, Jun 16, 2009 at 11:59 AM, Michael McCandless<luc...@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<mjo...@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.si...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org