GAE开发服务器在重启后保留全文搜索索引? [英] GAE development server keep full text search indexes after restart?
问题描述
当我启动dev服务器时,我已经使用了静态数据存储路径( - datastore_path
选项)。
我认为是1.7.1或1.7.2)。如果您使用过去几个月的SDK,它应该可以工作。您可以尝试显式设置 dev_appserver.py
上的 - search_indexes_path
标志。可能缺省位置( / tmp /
)不可写。您可以在启动dev_appserver时发布日志的前几行吗?
Is there anyway of forcing the GAE dev server to keep full text search indexes after restart? I am finding that the index is lost whenever the dev server is restarted.
I am already using a static datastore path when I launch the dev server (the --datastore_path
option).
This functionality was added a few releases ago (in either 1.7.1 or 1.7.2, I think). If you're using an SDK from the last few months it should be working. You can try explicitly setting the --search_indexes_path
flag on dev_appserver.py
; it's possible that the default location (/tmp/
) isn't writable. Could you post the first few lines of the logs from when you start dev_appserver?
这篇关于GAE开发服务器在重启后保留全文搜索索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!