RE: Deleting documents ...

2008-08-10 Thread Dragon Fly
OK, thank you. > From: [EMAIL PROTECTED] > 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 & >

Re: Deleting documents ...

2008-08-10 Thread Michael McCandless
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

Deleting documents ...

2008-08-10 Thread Dragon Fly
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.

Re: Re : Stop search process when a given number of hits is reached

2008-08-10 Thread Erick Erickson
Which shows you how good my memory is . Thinking about it, of course, the HitCollectors *naturally* go to completion if collecting the top scoring documents is going to work since the last document examined may be the top scoring one. Ah well, shows you how my brain works on vacation Thanks Erick