On Wed, Jul 15, 2009 at 5:47 PM, Uwe Schindler<[email protected]> wrote:
> This Impl should do it. The problem is, if (last==Integer.MAX_VALUE), then
> it would break because of overflow.
That part is OK... I'm more talking about the Javadoc for docID()
which states that it returns
* <li>-1 or {...@link #NO_MORE_DOCS} if {...@link #nextDoc()} or
* {...@link #advance(int)} were not called yet.
This implementation does not conform to that.
-Yonik
http://www.lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]