To loop through all documents, simply go from 0 to maxDoc() and check isDeleted() on each.
-Yonik Now hiring -- http://forms.cnet.com/slink?231706 On 10/26/05, Dirk Hennig < [EMAIL PROTECTED]> wrote: > > Hallo, > > I want to iterate through all documents in my index (to add some new > fields). > What ist the best / fastest way to do this? > > Greetings, > Dirk Hennig > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > <http://forms.cnet.com/slink?231706>