lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <>
Subject Re: IndexReader.acquire()/release() ?
Date Sat, 19 Jul 2008 14:55:12 GMT

On Fri, 18 Jul 2008, Yonik Seeley wrote:

> Although I do wonder if incRef() and decRef() aren't more suitable
> names.  Just make those methods public, which the caveat that one
> should not call them on a closed reader.  They are expert level APIs
> after all.

That would work just as well. The acquire() and release() methods were 
intended to do exactly that (and check that the index is still open).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message