Simple ElasticSearch indexing integration for Django.
BSD-3-CLAUSE License
.. image:: https://badge.fury.io/py/django-simple-elasticsearch.png :target: http://badge.fury.io/py/django-simple-elasticsearch
.. image:: https://travis-ci.org/jaddison/django-simple-elasticsearch.png :target: https://travis-ci.org/jaddison/django-simple-elasticsearch
.. image:: https://coveralls.io/repos/jaddison/django-simple-elasticsearch/badge.png :target: https://coveralls.io/r/jaddison/django-simple-elasticsearch
This package provides a simple method of creating Elasticsearch indexes for Django models.
Branch :code:master
targets both Elasticsearch 2.x and 5.x and will receive new
features. Both elasticsearch-py
2.x and 5.x Python modules are currently
supported. Documentation <http://django-simple-elasticsearch.readthedocs.io/>
_
Branch :code:1.x
is the maintenance branch for the legacy 0.9.x versioned releases,
which targeted Elasticsearch versions less than 2.0. This branch is unlikely to
receive new features, but will receive required fixes.
Documentation <http://django-simple-elasticsearch.readthedocs.io/en/1.x/>
_
Using a version older than 0.9.0? Please be aware that as of v0.9.0, this package has changed in a backwards-incompatible manner. Version 0.5 is deprecated and no longer maintained.
Visit the django-simple-elasticsearch documentation on ReadTheDocs <http://django-simple-elasticsearch.readthedocs.org/>
_.
@classmethods
used to handle:_msearch
At the command line::
$ easy_install django-simple-elasticsearch
Or::
$ pip install django-simple-elasticsearch
Add the simple_elasticsearch application to your INSTALLED_APPS list::
INSTALLED_APPS = (
...
'simple_elasticsearch',
)
Add any models to ELASTICSEARCH_TYPE_CLASSES
setting for indexing using es_manage management command::
ELASTICSEARCH_TYPE_CLASSES = [
'blog.models.BlogPost'
]
django-simple-elasticsearch is licensed as free software under the BSD license.