But I thought doc Ids start with 0? That's why I wrote 'set to -1' ... On Sat, Apr 25, 2009 at 12:18 AM, Michael McCandless < luc...@mikemccandless.com> wrote:
> On Fri, Apr 24, 2009 at 4:20 PM, Marvin Humphrey <mar...@rectangular.com> > 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"? > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > >