【发布时间】:2011-03-06 01:34:34
【问题描述】:
当我在开发环境中运行查询时,我希望 index.yaml 文件能够使用必要的索引进行更新。它声称它正在更新开发服务器日志中的这个文件,但该文件实际上并没有改变。知道会发生什么吗?
这是整个 index.yaml 文件:
indexes:
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying "# AUTOGENERATED"). If you want to manage some indexes
# manually, move them above the marker line. The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.
日志在我希望它添加新索引的地方有几行:
INFO 2010-06-20 18:56:23,957 dev_appserver_index.py:205] Updating C:\photohuntservice\main\index.yaml
不确定它是否重要,但我使用的是 AppEngine SDK 1.3.4 版。
【问题讨论】: