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