On Wed, Jul 15, 2009 at 5:47 PM, Uwe Schindler<u...@thetaphi.de> 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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to