Skip to main content

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.

Installation

Requirements:

  • Python >= 2.6

  • Django >= 1.4

  • django-haystack >= 2.1.0

  • South.>= 0.8.1

  • celery>=3.1 (optional)

Recommended:

Setup:

  1. Include 'deepsearch' in your INSTALLED_APPS.

  2. Configure HAYSTACK_CONNECTIONS.

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

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

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

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

Download files

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

Source Distribution

deepsearch-0.1.tar.gz (10.2 kB view details)

Uploaded Source

File details

Details for the file deepsearch-0.1.tar.gz.

File metadata

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

File hashes

Hashes for deepsearch-0.1.tar.gz
Algorithm Hash digest
SHA256 7c4ae9bc0b8f7927172e7dfd33832731c9391b324c97d515e31700d8bccfdf58
MD5 7f938ab98aa2e40e551ccd2fd598da91
BLAKE2b-256 0b0519df49c6eb2b332ab605fbf3cfd3c616360a6ec5eb5ecdb4da2ddd5f9df9

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page