Skip to content
A QueuedSearchIndex built with celery
Pull request Compare This branch is 1 commit behind mixcloud:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

django-haystack celery powered SearchIndex

This is a simple queued SearchIndex implementation using celery to power the queue. This is not just a drop in Django app - but you can probably just copy the classes in and use them relatively quickly.

Some notes

  1. In general we don't put instances on the queue - only references to them - otherwise queues grow or instances have changed by the time they are taken off the queue.
  2. Because we don't put instances on the queue, deletes have to be handled in line (otherwise the instance cannot be looked up when they are pulled off the queue). This is fine if there aren't many deletes in your system.


Not sure why you'd be looking at this if you didn't already use these...but here you go:

Something went wrong with that request. Please try again.