===================================
Elasticsearch 2 Engine for Haystack
===================================
:author: Nick Sarbicki
:date: 2016/12/05
.. image:: https://travis-ci.org/NDevox/elasticsearch2-haystack.svg?branch=master
:target: https://travis-ci.org/NDevox/elasticsearch2-haystack
This is a fairly hacked together Elasticsearch backend for haystack which supports
all versions of Elasticsearch up to 2.4.
This is strongly based on the original haystack Elasticsearch backend and essentially
just patches breaking changes from Elasticsearch 2 to replicate the functionality from
Elasticsearch 1.
Requirements
============
The requirements of this project largely match those of Haystack (except you can use Elasticsearch 2).
You can find these here: http://django-haystack.readthedocs.io/en/latest/#requirements
Otherwise it will require the appropriate elasticsearch-py installation. In this case the major
version must match the version of elasticsearch you are using.
In general the project supports Python 2.7 and 3.4+.
Installation
============
To run this engine in haystack you need to set your connections settings with the ``ENGINE``
variable as so:
.. code-block:: python
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'elasticsearch2_backend.ElasticsearchSearchEngine',
'URL': 'http://127.0.0.1:9200/',
'INDEX_NAME': 'haystack',
},
}
===========
Development
===========
The tests from haystack for the elasticsearch engine have been ported over. To run these make sure
you have nose installed (see the ``test-requirements.txt`` file) and then run
``nosetests -v --with-coverage --cover-package=elasticsearch2_backend``.
Elasticsearch 2 Engine for Haystack
===================================
:author: Nick Sarbicki
:date: 2016/12/05
.. image:: https://travis-ci.org/NDevox/elasticsearch2-haystack.svg?branch=master
:target: https://travis-ci.org/NDevox/elasticsearch2-haystack
This is a fairly hacked together Elasticsearch backend for haystack which supports
all versions of Elasticsearch up to 2.4.
This is strongly based on the original haystack Elasticsearch backend and essentially
just patches breaking changes from Elasticsearch 2 to replicate the functionality from
Elasticsearch 1.
Requirements
============
The requirements of this project largely match those of Haystack (except you can use Elasticsearch 2).
You can find these here: http://django-haystack.readthedocs.io/en/latest/#requirements
Otherwise it will require the appropriate elasticsearch-py installation. In this case the major
version must match the version of elasticsearch you are using.
In general the project supports Python 2.7 and 3.4+.
Installation
============
To run this engine in haystack you need to set your connections settings with the ``ENGINE``
variable as so:
.. code-block:: python
HAYSTACK_CONNECTIONS = {
'default': {
'ENGINE': 'elasticsearch2_backend.ElasticsearchSearchEngine',
'URL': 'http://127.0.0.1:9200/',
'INDEX_NAME': 'haystack',
},
}
===========
Development
===========
The tests from haystack for the elasticsearch engine have been ported over. To run these make sure
you have nose installed (see the ``test-requirements.txt`` file) and then run
``nosetests -v --with-coverage --cover-package=elasticsearch2_backend``.
Release files for elasticsearch2-haystack 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elasticsearch2-haystack-0.1.tar.gz | 30.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elasticsearch2_haystack-0.1-py3-none-any.whl | Python 3 | none | any | Details |
| elasticsearch2_haystack-0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 59.0 kB
Release files / elasticsearch2-haystack-0.1.tar.gz
| Download URL | elasticsearch2-haystack-0.1.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffd3e12fb65f41e58142be262dd63053fc5501879a8c5f9147e4cb34cf58e122
|
|
BLAKE2b-256 checksum How to use checksums |
241edb846588c7314da2763c6dcccafe45c77149bbc727b15ae58b0743f11560
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / elasticsearch2_haystack-0.1-py3-none-any.whl
| Download URL | elasticsearch2_haystack-0.1-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0dadadb39c65ef322d65e0aae2563bb235095ceb874d7a3af0c733ec73dcaa77
|
|
BLAKE2b-256 checksum How to use checksums |
b9a6f182e19d9923eaa4382ae737bf8f4cc1168c2f3ebef1f3e9cf5025ec2efd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / elasticsearch2_haystack-0.1-py2-none-any.whl
| Download URL | elasticsearch2_haystack-0.1-py2-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
eba32a0b1a561d2faf769d476e03825fd746d95a2ff54ea71f22d259d6770417
|
|
BLAKE2b-256 checksum How to use checksums |
f29b81650e83143f0f4a28d62037d06aa5be9e1a0f96863b679697d5ef47d2a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |