RE: live update of index used by Tomcat

2005-10-04 Thread Vanlerberghe, Luc
-user@lucene.apache.org Cc: Vanlerberghe, Luc Subject: RE: live update of index used by Tomcat > I can post the code and testcases if you're interested. Luc, that would be great as I have the very same problem. Regards, Carsten - T

RE: live update of index used by Tomcat

2005-09-20 Thread Vanlerberghe, Luc
You should keep your IndexReader open until the merge has finished, but also until there are no more Hits Objects that depend on it (tricky in multithreaded environments like tomcat). The fact that the files cannot be deleted immediately after the merge is no problem. The filenames will be stored