Gusenbauer Stefan wrote: >Erik Hatcher wrote: > > > >>On Apr 3, 2005, at 3:33 PM, Gusenbauer Stefan wrote: >> >> >> >>>Sorry for beeing late! >>>Only the test code wouldn't be very useful for understanding because >>>there are a lot of dependencies in the other code. I can explain what >>>I do: I open an IndexWrite close it then open an IndexReader close it >>>and open an IndexWriter then close it. Then i try to delete the files >>>from the index and only the cfs file i cannot delete. I try to get >>>out the code which is involved later on. I get no failure message >>>only the >>>that the fail could not be removed. >>> >>> >>This is on Windows, I presume? >> >> Erik >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> >Yes, I think it is a java with windows problem because since a use call >System.gc before deleting the file the streams are released. >Stefan > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > I found the bug, i simply didn't close the indexreader in the testcase before. Shame on me that I've assumed that lucene had a bug! Stefan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]