On Wed, Apr 15, 2009 at 8:35 PM, Ryan McKinley <ryan...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to