mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search lookup.
This commit is contained in:
parent
924c01ba09
commit
3baf92cf82
6 changed files with 43 additions and 4 deletions
|
@ -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``
|
||||
==============
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue