{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"Haystack provides a unified search API for Django that lets you swap between different search backends (Solr, Elasticsearch, Whoosh, Xapian, etc.) without changing your application code.","skillfed_tags":["search-abstraction","django-integration"],"use_cases":["Build a Django site with Elasticsearch search today, then switch to Solr tomorrow without rewriting search code.","Add faceted search (filtering by category, date, price) to a Django e-commerce or content site.","Index and search large document collections with spelling correction and result highlighting.","Implement 'More Like This' recommendations by querying similar documents in your search backend.","Support spatial/geographic search queries across Django models without backend-specific code."],"what_it_does":"Haystack is a search abstraction layer for Django that decouples your application from any specific search engine. Instead of writing search code tied to Elasticsearch or Solr, you write against Haystack's unified API and can swap backends without touching your code. It sits between your Django models and external search engines, handling indexing, querying, and result marshaling.\n\nThe package supports advanced search features like faceting, result highlighting, spelling suggestions, and spatial search. However, it is not a search engine itself\u2014you must install and run a separate backend (Solr, Elasticsearch, Whoosh, or Xapian) and configure Haystack to connect to it. This makes it a good fit for teams that want flexibility in their search infrastructure or may need to migrate between engines later.","worth_installing":"Yes, if you are building a Django application that needs search and want the flexibility to choose or change search backends. The high install friction (requires a separate search engine and Python 3.9+, Django 4\u20135) is justified by the abstraction benefit. Active maintenance, no known vulnerabilities, and permissive licensing make it a safe choice. Not worth installing if you need a simple, built-in search solution or are not willing to operate a separate search service."},"id":"django-haystack","links":{"html":"https://skillfed.io/packages/django-haystack","md":"https://skillfed.io/packages/django-haystack.md","pypi":"https://pypi.org/project/django-haystack/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-04","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"django-haystack","python_support":"supports_current","summary":"Pluggable search for Django."},"popularity":{"monthly_downloads":204948,"position":9596,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.4.0"}
