Skip to main content

Wrapper around elasticsearch-dsl for django models

Project description

PyPI python version PyPI - Django Version ElasticSearch Version Travis (.com) Code style: black


Django-Elasticsearch is a package that allows indexing of django models in elasticsearch. It utilizes elasticsearch-dsl so you can use all the features developed by the elasticsearch-dsl-py team.


pip install django_elasticsearch
# or, you know... 
poetry add django_elasticsearch


At the moment, follow but replace django_elasticsearch_dsl with django_elasticsearch


  • Based on elasticsearch-dsl so you can make queries with the Search class.
  • Django signal receivers on save and delete for keeping Elasticsearch in sync.
  • Management commands for creating, deleting, rebuilding and populating indices.
  • Elasticsearch auto mapping from django models fields.
  • Complex field type support (ObjectField, NestedField).
  • Index fast using parallel indexing.

Elasticsearch Compatibility

The library is currently only compatible with Elasticsearch 7

Project details

Download files

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

Source Distribution

django-elasticsearch-7.0.2.tar.gz (14.7 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page