Django与mongoengine后端和通过hays的elasticsearch

2024-09-27 23:27:23 发布

您现在位置:Python中文网/ 问答频道 /正文

我使用mongoengine作为后端。我尝试将haystack与elasticsearch引擎结合起来,索引我的mongo文档。我遵循文档http://django-haystack.readthedocs.org/。在

当我跑的时候

./manage.py rebuild_index

Removing all documents 

from your index because you said so.
All documents removed.
/home/t/py/django/boxers/venv/local/lib/python2.7/site-packages/haystack/utils/loading.py:165: UserWarning: Installed app kombu.transport.django.KombuAppConfig is not an importable Python module and will be ignored
  warnings.warn('Installed app %s is not an importable Python module and will be ignored' % app)

我的django haystack是2.3.1


Tags: installedanddjango文档pyanappindex

热门问题