Вопрос

Probably the best way to integrate search with the Django-CMS is Haystack.

There is a search_indexes.py snippet at django-cms documentation. Does anybody managed to get this up and running?

I'm using whoosh as the search engine. Haystack works fine with my models, but this snippet for cms.Page model does not work. The behavior is not consistent. Usually I'm getting No results found message, but sometimes after running manage.py rebuild_index, or update_index I'm getting results for the same query string. The thing is, rebuild_index is not always helping. Could anybody help me to understand what's going on?

Нет правильного решения

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top