On Thu, Sep 23, 2010 at 9:05 AM, Igor Chudov <ichu...@gmail.com> wrote: > 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?
Not sure what you mean by "leave the database itself". Solr is not a normal database, and thus there is not much sense to an empty index. In any case, to delete all entries, see entry 2.7 in the Solr FAQ on the Wiki: http://wiki.apache.org/solr/FAQ#How_can_I_delete_all_documents_from_my_index.3F Regards, Gora