.... or delete by query where the query is an OR query with unique IDs identifying each of the documents to delete.
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch ----- Original Message ---- From: Norberto Meijome <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Cc: [EMAIL PROTECTED] Sent: Thursday, January 10, 2008 2:04:28 PM Subject: Re: Delte by multiple id problem On Thu, 10 Jan 2008 05:28:52 -0800 (PST) farhanali <[EMAIL PROTECTED]> wrote: > I have deleted single id by sending delete command to solr server but getting > error when i try to delete multiple id's. > <delete> > <id>2</id> > <id>3</id> > <id>4</id> > </delete> > > is it the right syntax?? > any body have some idea. AFAIK, at this time, you need to issue deletes with only 1 id per command. eg <delete><id>2</id></delete> <delete><id>3</id></delete> <delete><id>4</id></delete> _________________________ {Beto|Norberto|Numard} Meijome Life is not measured by the number of breaths we take, but by the moments that take our breath away. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.