Fix: Update elasticsearch path in documentation

New location: https://github.com/wagtail/wagtail/blob/main/wagtail/search/backends/elasticsearch7.py
pull/7480/head
Chris 2021-08-30 15:36:39 -04:00 zatwierdzone przez LB (Ben Johnston)
rodzic 7804b9e3a4
commit 5593b8b42e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -149,7 +149,7 @@ A username and password may be optionally be supplied to the ``URL`` field to pr
}
}
``INDEX_SETTINGS`` is a dictionary used to override the default settings to create the index. The default settings are defined inside the ``ElasticsearchSearchBackend`` class in the module ``wagtail/wagtail/wagtailsearch/backends/elasticsearch.py``. Any new key is added, any existing key, if not a dictionary, is replaced with the new value. Here's a sample on how to configure the number of shards and setting the Italian LanguageAnalyzer as the default analyzer:
``INDEX_SETTINGS`` is a dictionary used to override the default settings to create the index. The default settings are defined inside the ``ElasticsearchSearchBackend`` class in the module ``wagtail/wagtail/search/backends/elasticsearch7.py``. Any new key is added, any existing key, if not a dictionary, is replaced with the new value. Here's a sample on how to configure the number of shards and setting the Italian LanguageAnalyzer as the default analyzer:
.. code-block:: python