Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#10207 closed (fixed)

Simple enhancements for Queryset API: Search

Reported by: Seamus <seamus@…> 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:

  1. Add an example
  2. 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)

querysets.diff (949 bytes ) - added by kgrandis 15 years ago.
updated patch with proper path

Download all attachments as: .zip

Change History (7)

comment:1 by Jacob, 15 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:2 by kgrandis, 15 years ago

Owner: changed from nobody to kgrandis

comment:3 by kgrandis, 15 years ago

Has patch: set

by kgrandis, 15 years ago

Attachment: querysets.diff added

updated patch with proper path

comment:4 by Kevin Kubasik, 15 years ago

Keywords: kkmegapatch added
Owner: changed from kgrandis to Kevin Kubasik

comment:5 by Jacob, 15 years ago

Resolution: fixed
Status: newclosed

Fixed by [10303].

comment:6 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

Note: See TracTickets for help on using tickets.
Back to Top