Hello,
I want to delete all the data from my datastore. I follow the steps of going to admin and click on "delete" but I always come across this error:
400: Database contains Google App Engine search data. To delete this database you must first remove the search data.
Now there is no indication on what is the search data and how to remove it. I tried removing all the indexes to no avail.
This was a database that was setup in 2013 as part of a google app engine instance and now has been detached from it and I need to delete all the data inside.
I tried from the admin panel, from the console.. everything short of just programmatically going in and deleting record by record.
could anyone advise on what is the way to delete all the data at once?
Maybe it's referring to the use of Google App Engine Search API (i.e. that you used it in your project and have data in the index)
Navigate to - https://console.cloud.google.com/appengine/search?project=<PROJECT_ID> . This will show you any indexes you have. You can then delete any data you have.
Thank you! ah I see an index there so that might be very well it!
But I do not see any option to delete it, is there a guide I can follow to do it?
What I found is this guide (https://cloud.google.com/appengine/docs/legacy/standard/python/search)- saying that I first need to delete all the documents in it, but I have to do it programmatically, there is no option on the GUI to do it. Is that right?
I don't remember if there's an option to delete from the console UI. If you don't see such an option, then it means it has to be done programmatically
PS: Found very old stackoverflow responses which said it couldn't be done via UI (see this, this)