<delete><query>*:*</query></delete>

will leave you a fresh index


On Thu, Sep 23, 2010 at 12:50 AM, xu cheng <xcheng....@gmail.com> wrote:
> <delete><query>the query that fetch the data you wanna
> delete</query></delete>
> I did like this to delete my data
> best regards
>
> 2010/9/23 Igor Chudov <ichu...@gmail.com>
>
>> Let's say that I added a number of elements to Solr (I use
>> Webservice::Solr as the interface to do so).
>>
>> Then I change my mind and want to delete them all.
>>
>> How can I delete all contents of the database, but leave the database
>> itself, just empty?
>>
>> Thanks
>>
>> i
>>
>

Reply via email to