Skip to main content

django-haystack-elasticsearch

https://img.shields.io/pypi/v/django-haystack-elasticsearch.svg https://img.shields.io/travis/CraveFood/django-haystack-elasticsearch.svg Updates

A set of backends for using multiple versions of Elasticsearch on Haystack.

  • Free software: BSD license

How to use

  • Make sure that your elasticsearch library has the same major version as your Elasticsearch server.

  • Choose the right backend as your ENGINE on Haystack.

Elasticsearch 1.x

$ pip install "elasticsearch>=1.0.0,<2.0.0"
HAYSTACK_CONNECTIONS = {
    'default': {
        'ENGINE': 'haystack_elasticsearch.elasticsearch.ElasticsearchSearchEngine',
        ...
    },
}

Elasticsearch 2.x

$ pip install "elasticsearch>=2.0.0,<3.0.0"
HAYSTACK_CONNECTIONS = {
    'default': {
        'ENGINE': 'haystack_elasticsearch.elasticsearch2.Elasticsearch2SearchEngine',
        ...
    },
}

Elasticsearch 5.x

$ pip install "elasticsearch>=5.0.0,<6.0.0"
HAYSTACK_CONNECTIONS = {
    'default': {
        'ENGINE': 'haystack_elasticsearch.elasticsearch5.Elasticsearch5SearchEngine',
        ...
    },
}

Credits

This project was based on the original Elasticsearch backend for Haystack. Special thanks to @PedroAquilino and @joaojunior for their work towards ES2 support.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2016-12-29)

  • First release on PyPI.

Release files for django-haystack-elasticsearch 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for django-haystack-elasticsearch 0.1.0
File Interpreter ABI Platform
django_haystack_elasticsearch-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / django_haystack_elasticsearch-0.1.0-py2.py3-none-any.whl

Download URL django_haystack_elasticsearch-0.1.0-py2.py3-none-any.whl
Size 21.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
10ca05bdb94ad471d148f0e8b3e7b2452ced8cb0a57171116aa9c12e416b3e48
BLAKE2b-256 checksum
How to use checksums
20cc29b655bf77e38b8f4c798df4cc04e78c52b9187c6c98317ddc77e432e612
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page