Search is not consistent

  • 5 Aug '15

I tried to search "Hey all" and "Just testing", it showed no results. But for all the topics older than them, it showed the correct list of topics.
I am using Spirit in a website, where search is not working at all.

Esteban C Borsani
  • 5 Aug '15

That's because you have to run ./ update_index command periodically in order to update the search index (read the haystack docs for more info) . I will implement the update as a Celery task, when I get to it.

In the meantime you can create a cron job that runs every hour or so.

btw, I rebuild the index here whenever I upgrade the forum, that's why the latest topics won't show in the results.