Whoa, thanks for catching this Uwe!

On Thu, Oct 21, 2010 at 8:21 AM, Uwe Schindler <u...@thetaphi.de> wrote:

> Why did you change this at all? I would revert or fix as described.

Because the current impl is wasteful, ie it does one too many .next()
calls.  I like your fix (move up the count/cache)... I'll commit.

BTW this count is only for debugging/transparency right?  Ie so you
can see how many terms were visited during MTQ rewrite.

Mike

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

Reply via email to