rebuild_index不重新生成索引

来源:11-4 配置Haystack Elasticsearch和创建索引类

慕运维2186032

2021-02-27

xx的MacBook-Pro:mysql_testdemo wm$ python3 manage.py rebuild_index
WARNING: This will irreparably remove EVERYTHING from your search index in connection ‘default’.
Your choices after this are to restore from backups or rebuild via the rebuild_index command.
Are you sure you wish to continue? [y/N] y
Removing all documents from your index because you said so.
All documents removed.
xx的MacBook-Pro:mysql_testdemo wm$
老师这是什么情况?

写回答

1回答

Jack

2021-03-02

您好,这是运行成功吧,没有看见报错

0
0

Django高级实战 开发企业级问答网站

融合Django高级用法/算法/设计模式/TestCase测试/云计算打造项目

900 学习 · 756 问题

查看课程