GAE for Java exception: no matching index found.
2010-09-12 13:58
447 查看
GAE for Java 版现在还不是非常完善,至少目前 appcfg 还没有删除已建索引的命令。 查了一下邮件列表,早在去年就有人问“GAE for 如何删除已建索引”。
现在这个问题依旧存在,权宜之计是使用 Python SDK 的 appcfg vacuum_indexes 命令进行删除。
步骤:
To remove your indexes from your java app using the python SDK
1) download the python sdk (下载 Python SDK)
2) in your java project create a app.yaml file with the following
contents (在项目根目录创建 app.yaml 文件,内容如下)
application: YOURJAVA_APPID (改为你的应用标识)
version: 1
runtime: python
api_version: 1
handlers:
- url: .*
script: main.py
3) from within your java app directory run (assuming appcfg.py is in
your path) (在应用根目录下执行如下命令)
appcfg.py vacuum_indexes .
4) follow the prompts to remove each index. (根据提示进行索引删除)
5) delete the app.yaml file (删除 app.yaml)
6) star the issue here http://code.google.com/p/googleappengine/issues/detail?id=1893 (在GAE 开发项目中关注该问题)
这样一来,基本是解决问题了。希望 GAE for Java 早日修复这个问题。
本文是使用 B3log Solo 从 简约设计の艺术 进行同步发布的。
相关文章推荐
- GAE for Java exception: no matching index found.
- GAE for Java exception: no matching index found.
- GAE for Java exception: no matching index found.
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- java.lang.IllegalArgumentException: No view found for id 0x7f090003 for fragment MainFg{40d57e28 #0
- Fragment之java.lang.IllegalArgumentException: No view found for id异常
- 解决java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
- 解决java.lang.IllegalArgumentException: No converter found for return value of type: class java.util
- Junit测试问题:java.lang.Exception: No tests found matching
- 谈一谈JPA遇到的:JUnit神奇的报错 java.lang.Exception:No tests found matching
- java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=findAll], {ExactMatcher:fDi
- 使用jutil测试程序出现错误java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=classestest]
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has
- 170616、解决 java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.ArrayList
- 170524、java.lang.IllegalArgumentException: No converter found for return value of type异常解决
- Request processing failed; nested exception is java.lang.IllegalArgumentException: No converter found for return value of type: class cn.e3mall.pojo.TbItem
- junit运行测试报异常:java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName......
- java.lang.IllegalArgumentException: No converter found for return value of type: class java.util.Has