Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A Haystack extension used to index deep and nested model relationships.

Project Description

deepsearch is a Haystack extension used to index deep and nested model relationships. Its key features are:

  • deepsearch.indexes.DeepSearchIndex class able to index deeply nested related objects and their fields.
  • deepsearch.models.FieldBoost model that stores weights of each index field for query-time field boosting.
  • resume_index command able to reindex a slice of all objects or only a subset of index fields.
  • Celery support for real-time indexing.



  • Python >= 2.6
  • Django >= 1.4
  • django-haystack >= 2.1.0
  • South.>= 0.8.1
  • celery>=3.1 (optional)



  1. Include 'deepsearch' in your INSTALLED_APPS.


  3. To enable real-time indexing add the following line to

    HAYSTACK_SIGNAL_PROCESSOR = 'deepsearch.signals.DeepSearchSignalProcessor'
  4. Create in your app directory.

  5. python init_boosts to update index field weight values. You should run this whenever you modify index schema.

  6. python rebuild_index will update index and deepsearch.models.IndexRelation table.

Release History

This version
History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(10.2 kB) Copy SHA256 Hash SHA256
Source None Jul 25, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting