/queued_search

A queuing setup for integration with Haystack (Celery support in this fork)

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

queued_search

Allows you to utilize a queue and shove updates/deletes for search into it, keeping your pages fast and your index fresh.

For use with Haystack (http://haystacksearch.org/).

Requirements

And one of:

You also need to install your choice of one of the supported search engines for Haystack and either one of the supported queue backends for Celery or one of those supported by Queues.

Setup

  1. Add queued_search to INSTALLED_APPS.
  2. Alter all of your SearchIndex subclasses to inherit from queued_search.indexes.QueuedSearchIndex.
  3. Ensure your queuing solution of choice is running.
  4. If using Queues: Setup a cron job to run the process_search_queue management command.
  5. If using Celery: Run a Celery worker.
  6. PROFIT!