lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Deleting All Documents With Certain Field Name
Date Mon, 05 Sep 2005 19:04:10 GMT
No.  The delete method deletes all Documents with _matching_ terms.

Otis

--- Luke <luke@lukeshannon.com> wrote:

> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message