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: BitSet Filter ArrayIndexOutOfBoundsException?
Date Thu, 16 Apr 2009 09:14:13 GMT
On Wed, Apr 15, 2009 at 8:35 PM, Ryan McKinley <ryantxu@gmail.com> wrote:

> I have an operation that is quite expensive that I am hoping to run only
> once for each time the index changes.  Is the

Couldn't you simply run your expensive operation, on the IndexReader
passed into getDocIdSet?

Ie, just move your current loop into the getDocIdSet, using the reader
it passes you?

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