Hi everyone,

I'm trying to issue, via curl to SOLR (testing at the moment), 3 deletes by id. 
I tried sending :

<delete><id>1</id><id>2</id><id>3</id></delete>

and solr didn't like it at all.

When I changed it to :

<delete><id>1</id></delete><delete><id>2</id></delete><delete><id>3</id></delete>

as in : 

curl http://localhost:8983/vcs/update -H "Content-Type: text/xml" --data-binary 
'<delete><id>816bc47fd52ffb9c6059e6975eafa168949d51dfa93dbe3c1eca169edd19b3</id></delete><delete><id>53f3f80e65482a5be353e7110f5308949d51dfa93dbe3c1eca169edd19b3</id></delete>'

only the 1st ( id =1 , or id = 
816bc47fd52ffb9c6059e6975eafa168949d51dfa93dbe3c1eca169edd19b3 gets deleted 
(after a commit, of course).

So i figure I will have to issue a series of independent  
<delete><id>xxx</id></delete> commands....Is it not possible to bunch them all 
together as it's possible with <add><doc>..</doc><doc>...</doc></add> ?


thanks!!
Beto
_________________________
{Beto|Norberto|Numard} Meijome

"Imagination is more important than knowledge."
  Albert Einstein, On Science

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.

Reply via email to