lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Some thoughts around the use of reader.isDeleted and hasDeletions
Date Tue, 09 Jun 2009 16:13:37 GMT
On Mon, Jun 8, 2009 at 4:07 PM, Shai Erera <serera@gmail.com> wrote:
> if the
> reader has no deletions, there's no point checking for each document if
> there are deletions and/or if the document was deleted.

If there are no deletions, it's just a null pointer check, right?
Or would there be other benefits?

-Yonik
http://www.lucidimagination.com

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