#13033: MySQL full text search in admin
----------------------------------+-----------------------------------------
Reporter: simon29 | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 1 |
----------------------------------+-----------------------------------------
Full text search hasn't been implemented properly in admin. The query is
being word split and OR'd like regular fields.
Attached patch fixes this, allowing you to type in any mysql boolean
search.
Simply prefix your admin search_fields with @ to use, eg ('@myfield', ).
Be sure to include ALL the fields you have included in your index, else
mysql might not use the full text index and instead default back to
running a standard LIKE query.
BTW, I can't recall the various search_field operators mentioned in docs?
--
Ticket URL: <http://code.djangoproject.com/ticket/13033>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.