mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #593 -- Added 'search' DB-API lookup type, which does full-text index searches in MySQL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
142e59b462
commit
168429d597
10 changed files with 31 additions and 1 deletions
|
@ -1035,6 +1035,15 @@ SQL equivalent::
|
|||
|
||||
SELECT ... WHERE pub_date IS NULL;
|
||||
|
||||
search
|
||||
~~~~~~
|
||||
|
||||
A boolean full-text search, taking advantage of full-text indexing. This is
|
||||
like ``contains`` but is significantly faster due to full-text indexing.
|
||||
|
||||
Note this is only available in MySQL and requires direct manipulation of the
|
||||
database to add the full-text index.
|
||||
|
||||
Default lookups are exact
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue