#10207 closed (fixed)
Simple enhancements for Queryset API: Search
Reported by: | Owned by: | Kevin Kubasik | |
---|---|---|---|
Component: | Documentation | Version: | 1.0 |
Severity: | Keywords: | kkmegapatch | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
http://docs.djangoproject.com/en/dev/ref/models/querysets/#search
I would recommend two simple additions to the search documentation:
- Add an example
- Add a link to MySQL information regarding the database changes
A boolean full-text search, taking advantage of full-text indexing. This is like contains but is significantly faster due to full-text indexing.
Entry.objects.filter(headline__search="Django")
Note this is only available in MySQL and requires direct manipulation of the database to add the full-text index.
Attachments (1)
Change History (7)
comment:1 by , 16 years ago
milestone: | → 1.1 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 16 years ago
Owner: | changed from | to
---|
comment:3 by , 16 years ago
Has patch: | set |
---|
by , 16 years ago
Attachment: | querysets.diff added |
---|
comment:4 by , 16 years ago
Keywords: | kkmegapatch added |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
updated patch with proper path