lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Williams <ch...@allthingslocal.com>
Subject Re: IndexSearcher hanging on to old index files in Windows
Date Fri, 29 Apr 2005 02:08:53 GMT
Monsur Hossain writes (4/28/2005 4:44 PM):

>Hi there.  Thanks for the input.  I just pulled together a quick set of .NET
>console apps to test this out.  I have an app that indexes and an app that
>holds an open searcher.  Sure enough, after each incremental index/searcher
>refresh, I can't delete the old index files.  I even tried doing a
>gc.collect(), with no luck.  
>  
>
I mentioned this earlier, but just to be explicit, you are closing the 
IndexSearcher before abandoning it, right?  And if you opened the 
IndexReader separately from the IndexSearcher, then are you also closing 
it separately?

Chuck


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


Mime
View raw message