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 に答える