diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-31 11:32:50 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-17 20:52:03 -0500 |
| commit | 5139832398624be75ee5361a6fac9348fdb61093 (patch) | |
| tree | 8db4c3d5f8c075c5b8c4a22f8845a1219d517485 /docs | |
| parent | bfe0d54514bf4f03bc4a956452541f0103134ba3 (diff) | |
Refs #26285 -- Removed MySQL __search lookup per deprecation timeline.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/querysets.txt | 27 | ||||
| -rw-r--r-- | docs/releases/2.0.txt | 2 |
2 files changed, 2 insertions, 27 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index ee48a3c6f0..ec71fe0294 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2918,33 +2918,6 @@ SQL equivalent:: SELECT ... WHERE pub_date IS NULL; -.. fieldlookup:: search - -``search`` -~~~~~~~~~~ - -.. deprecated:: 1.10 - - See :ref:`the 1.10 release notes <search-lookup-replacement>` for how to - replace it. - -A boolean full-text search, taking advantage of full-text indexing. This is -like :lookup:`contains` but is significantly faster due to full-text indexing. - -Example:: - - Entry.objects.filter(headline__search="+Django -jazz Python") - -SQL equivalent:: - - SELECT ... WHERE MATCH(tablename, headline) AGAINST (+Django -jazz Python IN BOOLEAN MODE); - -Note this is only available in MySQL and requires direct manipulation of the -database to add the full-text index. By default Django uses BOOLEAN MODE for -full text searches. See the `MySQL documentation`_ for additional details. - -.. _MySQL documentation: https://dev.mysql.com/doc/refman/en/fulltext-boolean.html - .. fieldlookup:: regex ``regex`` diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index 5734fdd5b2..f0f5ff6566 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -353,3 +353,5 @@ these features. * Support for query lookups using the model name when ``Meta.default_related_name`` is set is removed. + +* The MySQL ``__search`` lookup is removed. |
