haystack全文检索在 python 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.
/Users/caijianli/.virtualenvs/ttsx_sz2/lib/python3.6/site-packages/haystack/backends/simple_backend.py:47: UserWarning: clear is not implemented in this backend
  warn('clear is not implemented in this backend')
All documents removed.
Indexing 1260 goods infos
/Users/caijianli/.virtualenvs/ttsx_sz2/lib/python3.6/site-packages/haystack/backends/simple_backend.py:41: UserWarning: update is not implemented in this backend
  warn('update is not implemented in this backend')
haystack全文检索在 python manage.py rebuild_index建立索引时报错_第1张图片

解决方法如下

haystack配置的搜索引擎后端有问题,可以把你settings.py里的配置改改

haystack全文检索在 python manage.py rebuild_index建立索引时报错_第2张图片

已解决

 

 

 

你可能感兴趣的:(haystack全文检索在 python manage.py rebuild_index建立索引时报错)