Django

Code

Ticket #593 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

[patch] Fulltext search support in Django

Reported by: anonymous Assigned to: adrian
Milestone: Component: Database wrapper
Version: Keywords: fulltext search
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

If possible, django should provide a way of selecting fields to conduct fulltext search upon.

MySQL supports this in default distribuition, PostgreSQL needs extensions, I don't know about SqLite?.

Attachments

fulltext.patch (3.5 kB) - added by mrtact@gmail on 11/14/05 00:26:27.
Patch adding a "match" keyword that does full-text searching on mysql
matchoperator.diff (3.6 kB) - added by Tim Keating on 01/07/06 16:47:35.
Match operator implementation for full text search (on MySQL only, other backends raise NotImplemented?)
match_operator_doc.diff (0.8 kB) - added by Tim Keating on 01/07/06 17:06:04.
DB API doc updated with match operator.

Change History

10/05/05 08:16:11 changed by adrian

Can you give more specifics? Where would it need to provide full-text search support? Please give concrete examples.

10/08/05 06:18:58 changed by wojtek@brandlay.com

Actually it would be nice to be able to do automatic indexing in _pre_save and removing from the index on _pre_delete on a given model with some class for converting the model to an index object provided to you.

And then there could be a generic view for searches on models.

I'm actually going to implement it using http://hyperestraier.sourceforge.net/

Any hints are welcome

10/09/05 08:35:23 changed by anonymous

Fulltext search would come handy on custom made portals. Flatfiles can have a lot of content, and it's not searchable. Also django user could want a way to search his content, so it should probably be a field specific option, eg. 'fulltext=True' just like 'blank=True'.

It's just that search is such a powerful feature, that can not be left unimplemented. But sadly i'm not so deep into python to know how to make this happen.

11/14/05 00:26:27 changed by mrtact@gmail

  • attachment fulltext.patch added.

Patch adding a "match" keyword that does full-text searching on mysql

01/07/06 16:46:21 changed by Tim Keating

  • owner changed from adrian to anonymous.
  • status changed from new to assigned.
  • summary changed from Fulltext search support in Django to [patch] Fulltext search support in Django.

Re-submitting this patch, since I didn't previously abide by the proper guidelines.

01/07/06 16:47:35 changed by Tim Keating

  • attachment matchoperator.diff added.

Match operator implementation for full text search (on MySQL only, other backends raise NotImplemented?)

01/07/06 17:06:04 changed by Tim Keating

  • attachment match_operator_doc.diff added.

DB API doc updated with match operator.

01/08/06 22:23:55 changed by adrian

  • owner deleted.
  • status changed from assigned to new.

04/23/06 17:25:04 changed by adrian

  • priority changed from normal to lowest.
  • type changed from defect to enhancement.
  • severity changed from normal to minor.

06/02/06 13:18:55 changed by adrian

  • owner set to adrian.
  • status changed from new to assigned.

06/03/06 18:28:26 changed by adrian

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [3073]) Fixed #593 -- Added 'search' DB-API lookup type, which does full-text index searches in MySQL

06/21/06 03:26:34 changed by Seer

Hi all im fine, gl all!


Add/Change #593 ([patch] Fulltext search support in Django)




Change Properties
Action