Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.

This commit is contained in:
Baptiste Mispelon 2020-03-04 13:33:12 +01:00 committed by Mariusz Felisiak
parent 924c01ba09
commit 3baf92cf82
6 changed files with 43 additions and 4 deletions

View file

@ -35,6 +35,10 @@ query and the vector.
To use the ``search`` lookup, ``'django.contrib.postgres'`` must be in your
:setting:`INSTALLED_APPS`.
.. versionchanged:: 3.1
Support for query expressions was added.
``SearchVector``
================
@ -108,7 +112,8 @@ See :ref:`postgresql-fts-search-configuration` for an explanation of the
.. versionchanged:: 3.1
Support for ``'websearch'`` search type was added.
Support for ``'websearch'`` search type and query expressions in
``SearchQuery.value`` were added.
``SearchRank``
==============