https://wiki.apache.org/solr/FAQ#How_can_I_delete_all_documents_from_my_index.3F

have a look also at the last post here: https://gist.github.com/nz/673027

I think there's a way to disallow delete by *:* in the solrconfig.xml but I 
can't find it (I would take a look in the solrconfig just in case). 


From: solr-user@lucene.apache.org At: 09/21/17 13:28:13To:  
solr-user@lucene.apache.org
Subject: Re: Is there a way to delete multiple documents using wildcard?

Hi,
Delete by query should work - posting to /update

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

should delete all doc.

HTH,
Emir

> On 21 Sep 2017, at 05:25, balmydrizzle <balmydriz...@gmail.com> wrote:
> 
> Doesn't work, either. wildcard query can't be used in delete. At least for
> old Solr 3.x
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Reply via email to