From 3baf92cf8230ad3a932986170fd07c8feae7ff2f Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Wed, 4 Mar 2020 13:33:12 +0100 Subject: Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup. --- docs/ref/contrib/postgres/search.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'docs/ref') diff --git a/docs/ref/contrib/postgres/search.txt b/docs/ref/contrib/postgres/search.txt index 949d95929e..65d54cfd8d 100644 --- a/docs/ref/contrib/postgres/search.txt +++ b/docs/ref/contrib/postgres/search.txt @@ -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`` ============== -- cgit v1.3