Thanks Shawn for address the question to Jira. Indeed I want to continue to insert data in the collection.
I found that delete a collection by mistake using the API it’s to easy and prone to human error. Regards, -- Yago Riveiro On 12 Dec 2017 19:05 +0000, Shawn Heisey <apa...@elyograg.org>, wrote: > On 12/12/2017 10:27 AM, Yago Riveiro wrote: > > Is it possible in Solr protect a collection to be deleted through a > > property? > > I doubt that this is possible at the moment. > > The suggestion from Markus to change permissions on the index files > would prevent the actual index from being deleted, but I suspect that a > Collections API delete would still remove the collection from the > cloud. Also, it would prevent any changes to the index, which reduces > Solr's usefulness. > > An update processor to block mistakes is an interesting idea, but again, > doesn't keep you from deleting the collection entirely with the > collections API. > > I've opened an issue for an idea to achieve what I *think* you're after: > > https://issues.apache.org/jira/browse/SOLR-11751 > > Thanks, > Shawn >