Elasticsearch < 1.0 no longer supported

This commit is contained in:
Karl Hobley 2015-03-26 13:58:15 +00:00
parent 9d68d5f392
commit f05eccefe7

View file

@ -28,9 +28,6 @@ Prerequisites are the Elasticsearch service itself and, via pip, the `elasticsea
pip install elasticsearch
.. note::
If you are using Elasticsearch < 1.0, install elasticsearch-py version 0.4.5: ```pip install elasticsearch==0.4.5```
The backend is configured in settings:
.. code-block:: python
@ -62,4 +59,4 @@ If you prefer not to run an Elasticsearch server in development or production, t
Rolling Your Own
================
Wagtail search backends implement the interface defined in ``wagtail/wagtail/wagtailsearch/backends/base.py``. At a minimum, the backend's ``search()`` method must return a collection of objects or ``model.objects.none()``. For a fully-featured search backend, examine the Elasticsearch backend code in ``elasticsearch.py``.
Wagtail search backends implement the interface defined in ``wagtail/wagtail/wagtailsearch/backends/base.py``. At a minimum, the backend's ``search()`` method must return a collection of objects or ``model.objects.none()``. For a fully-featured search backend, examine the Elasticsearch backend code in ``elasticsearch.py``.