django haystack update_index 实现自动化 同步

上官方文档
http://django-haystack.readthedocs.io/en/v2.4.1/signal_processors.html

找到RealTime - RealtimeSignalProcessor
一个简单的设置:
If the model has an associated SearchIndex, the RealtimeSignalProcessor will then trigger an update/delete of that model instance within the search index proper.

Configuration looks like:

HAYSTACK_SIGNAL_PROCESSOR = 'haystack.signals.RealtimeSignalProcessor'

config文件指的是settings.py

你可能感兴趣的:(Django,solution,python3)