lucene-dev mailing list archives

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

Hi,

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

Would appreciate if i could help with code as well.

Thanks.
-- 
View this message in context: http://www.nabble.com/Updating-Lucene-index-from-two-different-threads-in-a-web-application-tp25231264p25231264.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


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


Mime
View raw message