How to remove indexes in Google App Engine (Java)?

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

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

appcfg.py vacuum_indexes /path/to/myapp/ 

Is there a smarter way?

Update (February 16, 2011):

Starting with the GAE SDK 1.4.2, you can:

 ./appengine-java-sdk/bin/appcfg.sh vacuum_indexes myapp/war 
+4
source share
2 answers

GAE SDK 1.4.2 adds the ability to index vacuum in Java. See this blog post for more details: http://www.codeonastick.com/?p=95

+1
source

I remember reading that this is currently the only way. There is a problem in this problem in this problem for Java, but it has not yet been implemented. http://code.google.com/p/googleappengine/issues/detail?id=1893

+2
source

Source: https://habr.com/ru/post/1304397/


All Articles