summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/postgres/search.txt7
-rw-r--r--docs/releases/3.1.txt5
2 files changed, 11 insertions, 1 deletions
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``
==============
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index 278752db90..de66d7805f 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -113,9 +113,14 @@ Minor features
* :class:`~django.contrib.postgres.search.SearchQuery` now supports
``'websearch'`` search type on PostgreSQL 11+.
+* :class:`SearchQuery.value <django.contrib.postgres.search.SearchQuery>` now
+ supports query expressions.
+
* The new :class:`~django.contrib.postgres.search.SearchHeadline` class allows
highlighting search results.
+* :lookup:`search` lookup now supports query expressions.
+
:mod:`django.contrib.redirects`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~