Hello, Well, you could remove the write permission for all segment files. Or, make a custom UpdateProcessor that intercepts *:* operations and stops a delete in its tracks. This is what we did, protect the search against me. Keep in mind that a negative query can also delete everything, so you can check if the numRows of the proposed delete query is equals to the number of documents.
Regards, Markus -----Original message----- > From:Yago Riveiro <yago.rive...@gmail.com> > Sent: Tuesday 12th December 2017 18:28 > To: solr-user@lucene.apache.org > Subject: Protect a collection to be deleted > > Hi, > > Is it possible in Solr protect a collection to be deleted through a > property? > > Regards > > > > > ----- > Best regards > > /Yago > -- > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >