How-to delete indexes in Google App Engine (Java)?

感情迁移 提交于 2020-01-02 05:50:27

问题


Is there a way to delete unused indexes in Google App Engine Java application?

The only one way I was able to find is to create an empty Python GAE application and run the following command:

appcfg.py vacuum_indexes /path/to/myapp/

Is there a more intelligent way?

Update (16 feb 2011):

Starting from GAE SDK 1.4.2 it is possible:

./appengine-java-sdk/bin/appcfg.sh vacuum_indexes myapp/war

回答1:


The ability to vacuum indexes in Java has been added to the GAE SDK 1.4.2. See this blog post for details: http://www.codeonastick.com/?p=95




回答2:


I remember reading that currently this is the only way. There is an issue in the issue tracker for this support for Java, but its not yet implemented. http://code.google.com/p/googleappengine/issues/detail?id=1893



来源:https://stackoverflow.com/questions/2465195/how-to-delete-indexes-in-google-app-engine-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!