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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django-elasticsearch-7.0.2.tar.gz.

File metadata

  • Download URL: django-elasticsearch-7.0.2.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.6.9 Linux/5.3.0-42-generic

File hashes

Hashes for django-elasticsearch-7.0.2.tar.gz
Algorithm Hash digest
SHA256 70f5eb6773731286a4311c889dbc19c2000619d83daf2f2f7487619534f110c5
MD5 f9757440fad3507e9e56a8bb33d212bb
BLAKE2b-256 1d6a2ec19a2c588951985e34861a2077c5c18d30d4587c87abaf99e4242a9a5c

See more details on using hashes here.

File details

Details for the file django_elasticsearch-7.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_elasticsearch-7.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c9c9a0f4d274aa6a7e1be363b02dae90a929b3bb931f4b84867d411ccd4ad72
MD5 9977d0440cd49f81b4d1a858370e2279
BLAKE2b-256 0d2765025814b5f22e25064f318a2157cefc4779fd0adde57da945c6031905b8

See more details on using hashes here.

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