https://github.com/django-haystack/queued_search
A queuing setup for integration with Haystack.
https://github.com/django-haystack/queued_search
Last synced: 12 months ago
JSON representation
A queuing setup for integration with Haystack.
- Host: GitHub
- URL: https://github.com/django-haystack/queued_search
- Owner: django-haystack
- License: bsd-3-clause
- Created: 2010-01-14T05:07:58.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2020-08-21T20:58:18.000Z (over 5 years ago)
- Last Synced: 2025-04-14T09:47:13.787Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 89
- Watchers: 9
- Forks: 23
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=============
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
============
* Python 2.6+ or Python 3.3+
* Django 1.5+
* Haystack 2.0.X (http://github.com/toastdriven/django-haystack)
* Queues (http://code.google.com/p/queues/)
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
=====
#. Add ``queued_search`` to ``INSTALLED_APPS``.
#. Alter all of your ``SearchIndex`` subclasses to inherit from ``queued_search.indexes.QueuedSearchIndex`` (as well as ``indexes.Indexable``).
#. Ensure your queuing solution of choice is running.
#. Setup a cron job to run the ``process_search_queue`` management command.
#. PROFIT!