Update note on ATOMIC_REBUILD to indicate that the problem is specific to 5.4.x - fixes #6003

pull/6015/head
Matt Westcott 2020-05-07 21:45:35 +01:00
rodzic f1dadba75a
commit 7b772aba81
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -45,7 +45,7 @@ If you have disabled auto update, you must run the :ref:`update_index` command o
==================
.. warning::
This option may not work on Elasticsearch version 5.4 and above, due to `a bug in the handling of aliases <https://github.com/elastic/elasticsearch/issues/24644>`_ affecting these releases.
This option may not work on Elasticsearch version 5.4.x, due to `a bug in the handling of aliases <https://github.com/elastic/elasticsearch/issues/24644>`_ - please upgrade to 5.5 or later.
By default (when using the Elasticsearch backend), when the ``update_index`` command is run, Wagtail deletes the index and rebuilds it from scratch. This causes the search engine to not return results until the rebuild is complete and is also risky as you can't rollback if an error occurs.