lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
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.


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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message