kopia lustrzana https://github.com/wagtail/wagtail
Link to the full Elasticsearch setup docs from the Performance page
rodzic
00c6a5f220
commit
eb9cc639d2
|
@ -20,6 +20,7 @@ Changelog
|
|||
* Added support for showing `non_field_errors` when validation fails in the page editor (Matt Westcott)
|
||||
* Added `WAGTAILADMIN_RECENT_EDITS_LIMIT` setting to to define the number of your most recent edits on the dashboard (Maarten Kling)
|
||||
* Creating / editing users through the Wagtail admin no longer modifies the `is_staff` flag (Matt Westcott)
|
||||
* Added link to the full Elasticsearch setup documentation from the Performance page (Matt Westcott)
|
||||
* Fix: Marked 'Date from' / 'Date to' strings in wagtailforms for translation (Vorlif)
|
||||
* Fix: "File" field label on image edit form is now translated (Stein Strindhaug)
|
||||
* Fix: Unreliable preview is now reliable by always opening in a new window (Kjartan Sverrisson)
|
||||
|
|
|
@ -33,28 +33,7 @@ Search
|
|||
|
||||
Wagtail has strong support for `Elasticsearch <http://www.elasticsearch.org/>`_ - both in the editor interface and for users of your site - but can fall back to a database search if Elasticsearch isn't present. Elasticsearch is faster and more powerful than the Django ORM for text search, so we recommend installing it or using a hosted service like `Searchly <http://www.searchly.com/>`_.
|
||||
|
||||
Once the Elasticsearch server is installed and running. Install the ``elasticsearch`` Python module with:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ pip install elasticsearch
|
||||
|
||||
then add the following to your settings:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
WAGTAILSEARCH_BACKENDS = {
|
||||
'default': {
|
||||
'BACKEND': 'wagtail.wagtailsearch.backends.elasticsearch',
|
||||
'INDEX': '{{ project_name }}',
|
||||
},
|
||||
}
|
||||
|
||||
Once Elasticsearch is configured, you can index any existing content you may have:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ ./manage.py update_index
|
||||
For details on configuring Wagtail for Elasticsearch, see :ref:`wagtailsearch_backends_elasticsearch`.
|
||||
|
||||
|
||||
Database
|
||||
|
|
|
@ -27,6 +27,7 @@ Other features
|
|||
* User creation / edit form now enforces password validators set in ``AUTH_PASSWORD_VALIDATORS`` (Bertrand Bordage)
|
||||
* Added support for displaying ``non_field_errors`` when validation fails in the page editor (Matt Westcott)
|
||||
* Added `WAGTAILADMIN_RECENT_EDITS_LIMIT` setting to to define the number of your most recent edits on the dashboard (Maarten Kling)
|
||||
* Added link to the full Elasticsearch setup documentation from the Performance page (Matt Westcott)
|
||||
|
||||
|
||||
Bug fixes
|
||||
|
|
Ładowanie…
Reference in New Issue