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:
haystackbrowser (to inspect indexed data)
Setup:
Include 'deepsearch' in your INSTALLED_APPS.
Configure HAYSTACK_CONNECTIONS.
To enable real-time indexing add the following line to settings.py:
HAYSTACK_SIGNAL_PROCESSOR = 'deepsearch.signals.DeepSearchSignalProcessor'Create search_indexes.py in your app directory.
python manage.py init_boosts to update index field weight values. You should run this whenever you modify index schema.
python manage.py rebuild_index will update index and deepsearch.models.IndexRelation table.
Metadata
Release files for deepsearch 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deepsearch-0.1.tar.gz | 10.2 kB | Without provenance | Details for deepsearch-0.1.tar.gz |
Release files / deepsearch-0.1.tar.gz
| Download URL | deepsearch-0.1.tar.gz |
|---|---|
| Size | 10.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c4ae9bc0b8f7927172e7dfd33832731c9391b324c97d515e31700d8bccfdf58
|
|
BLAKE2b-256 checksum How to use checksums |
0b0519df49c6eb2b332ab605fbf3cfd3c616360a6ec5eb5ecdb4da2ddd5f9df9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for deepsearch 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.