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

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.

Installation

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

Usage

At the moment, follow https://django-elasticsearch-dsl.readthedocs.io/ but replace django_elasticsearch_dsl with django_elasticsearch

Features

  • 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.

Files for django-elasticsearch, version 7.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_elasticsearch-7.0.2-py3-none-any.whl (17.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-elasticsearch-7.0.2.tar.gz (14.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page