Re: Deleting All Documents With Certain Field Name

2005-09-05 Thread Otis Gospodnetic
No. The delete method deletes all Documents with _matching_ terms. Otis --- Luke <[EMAIL PROTECTED]> wrote: > Would this not delete all records from the index that have a saleDate > field? > > reader.delete(new Term("salesDate", "")); > > Thanks, > > Luke > > >

Deleting All Documents With Certain Field Name

2005-09-05 Thread Luke
Would this not delete all records from the index that have a saleDate field? reader.delete(new Term("salesDate", "")); Thanks, Luke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]