lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: ReadOnly IndexReaders
Date Mon, 01 Jun 2009 12:40:21 GMT
> On May 30, 2009, at 13:27, Mark Miller <markrmiller@gmail.com> wrote:
>> Is there a valid use case? It seems like it might be a tricky method,
>> because its an IndexReader property and not the index.
>
> But it's just a flag passed in
>
> If you know it's read only and that there are no deletes, can't you avoid
> isDeleted all together?

If you know there are no deletes, you should be able to avoid calling
isDeleted anyway.

-Yonik

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


Mime
View raw message