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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to