As of 2.4.0 they are public.
Mike
Ganesh wrote:
incRef/decRef methods are protected. Is there any other way to use
these methods without extending it?
Regards
Ganesh
----- Original Message ----- From: "Michael McCandless" <[EMAIL PROTECTED]
>
To: <java-user@lucene.apache.org>
Sent: Wednesday, October 15, 2008 2:31 PM
Subject: Re: Closing Index Reader
Ganesh wrote:
Yes. Once the Indexreader is closed, you should not do make any
calls with that object.
Extend the IndexReader to add support for reference count. Close
the reader once the count is zero.
Actually you can just use the [expert] incRef/decRef methods on
IndexReader to track in-flight searches still using it. You
shouldn't have to extend it.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Send instant messages to your online friends http://in.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]