gpt4 book ai didi

google-app-engine - 如何删除 Google Application Engine 中未使用的索引?

转载 作者:太空宇宙 更新时间:2023-11-03 15:17:22 26 4
gpt4 key购买 nike

我已经 accidentally added我的 GAE 应用程序的新过滤器。索引的状态现在是“正在服务”——但是我根本不需要那个索引,我想删除它。我该怎么做?

最佳答案

已记录 here :

Deleting Unused Indexes

When you change or remove an indexfrom index.yaml, the original index isnot deleted from App Engineautomatically. This gives you theopportunity to leave an older versionof the app running while new indexesare being built, or to revert to theolder version immediately if a problemis discovered with a newer version.

When you are sure that old indexes areno longer needed, you can delete themfrom App Engine using the followingcommand:

appcfg.py vacuum_indexes myapp/

This command deletes all indexes for the app that are not mentioned in the local version of index.yaml.

关于google-app-engine - 如何删除 Google Application Engine 中未使用的索引?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/813839/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com