lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
Subject Re: Move from RAMDirectory to FSDirectory causing problem sometimes
Date Tue, 08 Jul 2008 10:38:45 GMT
Michael McCandless wrote:
>
> Hmmm, you should not close the directory if you are then going to use 
> it to instantiate a searcher.
how come it works ?
>
> Your code below never closes the searcher?  I think that is most 
> likely the source of your file descriptor leaks.
Ok fixed

paul

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