Skip to main content

Simple Django ElasticSearch indexing integration.

Project description

This is an ALPHA level package - it is in flux and if you use it, your project may break with package updates.

Simple method of creating ElasticSearch indexes for Django projects. Options: auto index/delete with model signals, bulk submit ES operations on request_finished signal, (future) support for RabbitMQ ES ‘river’ configuration. Management command to handle broad initialization and indexing.

To use the request_finished signal to bulk update ES and ensure that all your management commands work correctly with signals/bulk updating, you will need to update your manage.py script with this snippet:

from simple_elasticsearch.settings import ES_USE_REQUEST_FINISHED_SIGNAL
if ES_USE_REQUEST_FINISHED_SIGNAL:
    from simple_elasticsearch.indexes import process_bulk_data
    process_bulk_data(None)

TODO:

  • mention Celery integration custom task in detail (in flux)

History:

History will start with the first (semi) stable release I’m happy with.

Authors:

* James Addison

Contributions are welcome - simply fork on Github, fix/improve and submit a pull request.

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-simple-elasticsearch-0.1.6.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

django_simple_elasticsearch-0.1.6-py2.py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 2 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