On 10/01/2008, at 17:04, Norberto Meijome wrote:

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>

Can this be done on the same request? Because I am sending them on diferent requests... wich suck... already dividing inserts and deletes in 2 requests is bad enough.

--
Leonardo Santagada



Reply via email to