lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feng Gao" <f...@caiman.com>
Subject RE: Delete document
Date Tue, 04 Mar 2008 22:14:58 GMT
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

-----Original Message-----
From: Jae Joo [mailto:jaejoo@gmail.com] 
Sent: March 4, 2008 5:06 PM
To: solr-user
Subject: Delete document

Hi,

I have many document to be deleted and the xml file is built shown as below.

delete.xml

<delete><query>id:0286-14582373</query></delete>
<delete><query>id:0286-14582372</query></delete>
<delete><query>id:0286-14582371</query></delete>
<delete><query>id:0286-14582415</query></delete>
<delete><query>id:0286-14582414</query></delete>
<delete><query>id:0286-14582413</query></delete>
<delete><query>id:0286-14582412</query></delete>
<delete><query>id:0286-14582411</query></delete>
<delete><query>id:0286-14582410</query></delete>
<delete><query>id:0286-14582409</query></delete>
<delete><query>id:0286-14582408</query></delete>



Once I post it using post.sh command (post.sh delete.xml), the only first
document is deleted.

Did I miss something?

Thanks,

Jae


Mime
View raw message