问题
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