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.

Source Distribution

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

Uploaded Source

Built Distribution

django_elasticsearch-7.0.2-py3-none-any.whl (17.5 kB view hashes)

Uploaded Python 3

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