lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Deleting documents ...
Date Sun, 10 Aug 2008 14:52:42 GMT

Actually it's usually best to use the deleteDocuments method in  
IndexWriter since it saves you having to close/open IndexWriter &  
IndexReader back and forth to do the deletions.

IndexModifier is deprecated.

Mike

Dragon Fly wrote:

> I'd like to delete some documents from my index.  Should I use the  
> DeleteDocument method in the IndexReader class or the IndexModifier  
> class? Does it make a difference which one I use? Thank you.
>
> _________________________________________________________________
> Get more from your digital life.  Find out how.
> http://www.windowslive.com/default.html?ocid=TXT_TAGLM_WL_Home2_082008


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