On Fri, Apr 24, 2009 at 05:18:30PM -0400, Michael McCandless wrote:

> > One additional wrinkle, though: doc nums start at 1 rather than 0, so the
> > return values for Next() and Advance() can double as a booleans.
> 
> Meaning they return 0 to indicate "no more docs"?

Yes.  0 is our sentinel.

Marvin Humphrey

---------------------------------------------------------------------
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