lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitu2009 <>
Subject Updating Lucene index from two different threads in a web application
Date Mon, 31 Aug 2009 22:15:06 GMT


I've a web application which uses Lucene for company search functionality.
When registered users add a new company,it is saved to database and also
gets indexed in Lucene based company search index in real time.

When adding company in Lucene index, how do I handle use case of two or more
logged-in users posting a new company at the same time?Also, will both these
companies get indexed without any file lock, lock time out, etc. related

Would appreciate if i could help with code as well.

View this message in context:
Sent from the Lucene - Java Developer mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message