Skip to main content

An app for integrating Celery with Haystack.

Project description

This Django app allows you to utilize Celery for automatically updating and deleting objects in a Haystack search index.

Requirements

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

Installation

Use your favorite Python package manager to install the app from PyPI:

pip install celery-haystack

Setup

  1. Add 'celery_haystack' to INSTALLED_APPS.

  2. Alter all of your SearchIndex subclasses to inherit from celery_haystack.indexes.CelerySearchIndex (as well as haystack.indexes.Indexable).

  3. Ensure your Celery instance is running.

Thanks

This app is a blatant rip-off of Daniel Lindsley’s queued_search app but uses Ask Solem Hoel’s Celery instead of the equally awesome queues library by Matt Croyden.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

celery-haystack-0.1.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file celery-haystack-0.1.tar.gz.

File metadata

  • Download URL: celery-haystack-0.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for celery-haystack-0.1.tar.gz
Algorithm Hash digest
SHA256 1ec31ed4d90f78056fa7f65c4575af9ac27c0e425fc4b53b8fb3584c63a7cc71
MD5 d5c5a339ce18adb13ee3a3b2124e3da9
BLAKE2b-256 612f582af59425eae5c52ce320a230feb91f0bdd55e94b7db2c78eea65a704f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page