A queuing setup for integration with Haystack.
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
queued_search Bumped to v2.1.0! Aug 19, 2013
tests Moved notes app to tests to make Travis happy. Aug 22, 2013
.gitignore
.travis.yml Updated allow_failures. Aug 22, 2013
AUTHORS Added batch processing for updated items. Sep 13, 2010
LICENSE Initial commit. ``QueuedSearchIndex`` is complete. Jan 14, 2010
MANIFEST BACKWARD-INCOMPATIBLE: Removed ``QueuedSearchIndex`` in favor of ``Qu… Jan 16, 2013
README.rst
runtests.py Moved notes app to tests to make Travis happy. Aug 22, 2013
setup.cfg Updates for packaging. Dec 3, 2013
setup.py Updates for packaging. Dec 3, 2013
tox.ini Added a test branch for py3.3. Queues does not support py3+ so it's g… Aug 22, 2013

README.rst

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/).

WARNING!!!

This project has been updated to be compatible with Haystack 2.0.x! If you need queued_search for Haystack 1.2.X, please use the 1.0.4 tag or pip install queued_search==1.0.4!

Requirements

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

Setup

  1. Add queued_search to INSTALLED_APPS.
  2. Alter all of your SearchIndex subclasses to inherit from queued_search.indexes.QueuedSearchIndex (as well as indexes.Indexable).
  3. Ensure your queuing solution of choice is running.
  4. Setup a cron job to run the process_search_queue management command.
  5. PROFIT!