Google App Engine Java:如何删除未使用的索引? [英] Google App Engine Java: how to remove unused indexes?

查看:133
本文介绍了Google App Engine Java:如何删除未使用的索引?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我找到有关移除未使用索引的信息,请参阅上传和管理Python应用程序/删除未使用的索引,它仅适用于Python环境...

If I found information about removing unused indexes, like in Uploading and Managing a Python App / Deleting Unused Indexes, it was only for the Python environment...

[〜project] /war/WEB-INF/datastore-indexes.xml 文件?

推荐答案

1.4.2 Java SDK支持vacuum_indexes操作。
运行此命令删除未使用的索引:

Since version 1.4.2 the Java SDK supports the vacuum_indexes action. Run this command to delete unused indices:

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

例如:

On Windows with the Eclipse SDK it's something like:

<eclipse-path>\plugins\com.google.appengine.eclipse.sdkbundle_1.4.3.v201103311225\appengine-java-sdk-1.4.3\bin\appcfg.cmd vacuum_indexes <myapp-path>\war

这篇关于Google App Engine Java:如何删除未使用的索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆