Feng Gao schrieb: > Try this: <delete><id>05991</id></delete> > > As I remember, we only can delete one doc once, but I am not sure. Give that > a try later. > > Feng > Yes, you can only delete one document by id at once The command posted before won't work anyway, as <delete>...</delete> is already one command and you can't have multiple command in one solr request. So you could also send multiple solr-requests, each containing: <delete><id>0286-14582373</id></delete> assuming that the "id" field is really your unique-key for the documents. What doesn't work is this: <delete> <id>0286-14582371</id> <id>0286-14582372</id> <id>0286-14582373</id> </delete>
Could please some one add this to Solr. You could try: <delete><query>id:[0286-14582371 TO 0286-14582373]</query></delete> It would delete these documents: 0286-14582373, 0286-14582372, 0286-14582371 assuming that the range query works correctly on that field. Best regards, Max -- Maximilian Hütter blue elephant systems GmbH Wollgrasweg 49 D-70599 Stuttgart Tel : (+49) 0711 - 45 10 17 578 Fax : (+49) 0711 - 45 10 17 573 e-mail : [EMAIL PROTECTED] Sitz : Stuttgart, Amtsgericht Stuttgart, HRB 24106 Geschäftsführer: Joachim Hörnle, Thomas Gentsch, Holger Dietrich