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