Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » How to integrate a search engine in a Django site? [RSS Feed]

#1 Nov. 1, 2005 23:38:41

h.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

How to integrate a search engine in a Django site?


>Thanx for the link!!! However, it seems like I cannot search across
>different models.... even if they have the same attributes that I want
>to search.

My abstract searching stuff (Ian gave the link) does allow searching
over different models - you just add multiple search definitions. The
models even don't need to have the same fields, as you can describe
what fields to use in every search definition.

A sample search definition file for a larger project is in the SVN
repository of my CMS project:https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/file/cms/trunk/apps/cms/search.pyIt should work with Django trunk, as it doesn't have any translations.
But it might be that some i18n-related dependency crept in, I mostly
run projects from the i18n branch. And documentatin is a bit sparse
currently, you are mostly down to reading the comments and docstrings
and the bit on the wiki (and digging through the CmsProject source
should help, too).

bye, Georg

Offline

  • Root
  • » Django
  • » How to integrate a search engine in a Django site? [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support