Hi Li,

Yes, you can issue a delete all by:
curl http://your_solr_server:your_solr_port/solr/update -H
"Content-Type: text/xml" --data-binary
'<delete><query>*:*</query></delete>';

Hope it helps.

Cheers,
Daniel 

-----Original Message-----
From: Li Li [mailto:fancye...@gmail.com] 
Sent: 28 June 2010 03:41
To: solr-user@lucene.apache.org
Subject: is there a "delete all" command in updateHandler?

I want to delete all index and rebuild index frequently. I can't delete
the index files directly because I want to use replication

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
                                        

Reply via email to