Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A queuing setup for integration with Haystack.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 queued_search
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 AUTHORS
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 README.rst
Octocat-spinner-32 runtests.py
Octocat-spinner-32 setup.cfg
Octocat-spinner-32 setup.py
Octocat-spinner-32 tox.ini
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!
Something went wrong with that request. Please try again.