# django-es/django-elasticsearch-dsl

This is a package that allows indexing of django models in elasticsearch with elasticsearch-dsl-py.

Repository: https://github.com/django-es/django-elasticsearch-dsl
Canonical: https://ross.abutalabs.com/products/django-elasticsearch-dsl
Language: Python
License: NOASSERTION
License Family: other
Topics: hacktoberfest, elasticsearch
Last push: 2025-07-23T22:47:56+00:00

## Health v2 (maintenance only)
Score: 38/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 33, release rhythm 8, longevity 100
- inputs: {"age_days": 3663, "days_push": 406, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1056, forks 270 (observed 2026-08-28T04:03:24.469482+00:00)

## What it is
A Python package that indexes Django models into Elasticsearch, built as a thin wrapper around elasticsearch-dsl-py. It keeps Elasticsearch in sync with Django via signal receivers and provides management commands for index lifecycle operations.

## Use cases
- add full-text search to a django app with elasticsearch
- keep elasticsearch indices in sync with django model saves and deletes
- auto-map django model fields to elasticsearch mappings
- rebuild and populate search indices from django management commands
- index related nested and object fields from django models
- speed up bulk indexing of django models in parallel

## When to choose
- you use Django and want declarative model-to-Elasticsearch indexing
- you want automatic sync on save/delete via Django signals
- you need management commands for creating, rebuilding, and populating indices
- you want to leverage elasticsearch-dsl-py's Search API directly

## When to avoid
- you don't use Django
- you use a search backend other than Elasticsearch
- you need a version whose major version doesn't match your Elasticsearch version
- you want a fully managed search-as-a-service integration

## Facets
- artifact type: library
- maturity: active
- function: search-engine, database, orm
- domain: web-development, databases
- platform: python
- tags: django, elasticsearch, indexing, elasticsearch-dsl, django-models, search, web-server

## Member repositories
- django-es/django-elasticsearch-dsl (main) score 38

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.469482+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:58:22.636656+00:00, confidence not recorded.
  - readme: https://github.com/django-es/django-elasticsearch-dsl (fetched 2026-08-28T04:03:24.469482+00:00, sha 7608c528e185)
- Data as of 2026-08-30T08:39:29.467469+00:00.
