lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: getting all Lucene internal IDs
Date Fri, 19 Jun 2009 16:47:46 GMT
On Fri, Jun 19, 2009 at 12:43 PM, Dmitry Lizorkin<lizorkin@ispras.ru> wrote:

> In the meantime, does there exist any workaround for the current version
> 2.4.1 we're using?

Iterate over all ints from 0 .. IndexReader.maxDoc() (exclusive) and
call IndexReader.isDeleted?

Open a read-only IndexReader if possible, so isDeleted won't be synchronized.

Mike

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


Mime
View raw message