Correct 'Indexing extra fields' note to avoid implying that the Postgresql backend doesn't support it

Fixes #3899 - thanks @sivictorallen for the report!
pull/3923/head
Matt Westcott 2017-10-10 12:03:16 +01:00
rodzic 016bf2deb9
commit fddb9a076e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -53,7 +53,7 @@ Indexing extra fields
.. warning::
Indexing extra fields is only supported with ElasticSearch as your backend. If you're using the database backend, any other fields you define via ``search_fields`` will be ignored.
Indexing extra fields is not supported by the database backend. If you're using the database backend, any other fields you define via ``search_fields`` will be ignored.
Fields must be explicitly added to the ``search_fields`` property of your ``Page``-derived model, in order for you to be able to search/filter on them. This is done by overriding ``search_fields`` to append a list of extra ``SearchField``/``FilterField`` objects to it.