Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete a search Index itself

Search Index has a method to delete a document. https://cloud.google.com/appengine/docs/standard/python/search/indexclass (Python) https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/search/Index (java)

But how to delete Index itself?

Empty Index was listed at the Text Search Panel in the Admin Console.

but no button to delete.

like image 921
aki miyazaki Avatar asked Jan 31 '14 00:01

aki miyazaki


1 Answers

Since you have tagged gae-search I assume your question refers to an index of the Search API (i.e. full text search service, not NDB/HRD datastore index).

Currently you can only delete the documents in an index, but you can't delete the index itself, e.g. issue 8235 and 8490. This restriction of Search API applies to all languages supported in Google App Engine.

The vacuum_indexes prompts you only for indices in datastore, but I miss something like this for the search service too.

like image 123
Ani Avatar answered Oct 02 '22 22:10

Ani