0

I am wondering what is the best way to delete a search index of the full text search API that is available on the Google App Engine. I have found a few questions on this topic focusing on Python, but none on Go. The general suggestions seems to be to manually delete all documents in the search index and than call index.delete_schema(), see for example[0].

However, for Go there seems to be no function to delete a schema. I have used a task queue to remove every document in an index, but the size of the index shown in the App Engine Dashboard did not decrease.

[0] How to delete or reset a search index in Appengine

4

1 回答 1

0

删除文档时,仪表板上显示的空间使用情况不会立即更新。它由每晚的批处理作业重新计算。所以应该在24小时内更新。

于 2016-07-17T22:17:40.020 回答