On 6/19/07, Beard, Brian <[EMAIL PROTECTED]> wrote:
This may seem like a naïve question - since the garbage collection is not 
enforcable, is it possible to send a flag to the IndexReader to give this up 
once the reader is no longer needed?

You call close() on the IndexReader (or the IndexSearcher that owns
it) when you no longer need it, and that will release resources such
as open files.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to