lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon Fly <dragon-fly...@hotmail.com>
Subject RE: Deleting documents ...
Date Sun, 10 Aug 2008 18:57:50 GMT
OK, thank you.

> From: lucene@mikemccandless.com
> To: java-user@lucene.apache.org
> Subject: Re: Deleting documents ...
> Date: Sun, 10 Aug 2008 10:52:42 -0400
> 
> 
> 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
> 

_________________________________________________________________
Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia Contest
http://www.gowindowslive.com/summergames?ocid=TXT_TAGHM
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message