Google Groups Home
Help | Sign in
How to integrate a search engine in a Django site?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Expand all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dado  
View profile  
 More options Oct 30 2005, 6:46 pm
From: "Dado" <marco...@gmail.com>
Date: Sun, 30 Oct 2005 15:46:50 -0800
Local: Sun, Oct 30 2005 6:46 pm
Subject: How to integrate a search engine in a Django site?
Does anybody have any experience in integrating a search engine that
can do full-text search into a Django web site? Perhaps, Lupy or
pyLucene, or something SQL-based like MySQL or PostGres full-text
search queries? Of course the frontend should be a simple search box
where users can input anything from a set of simple words to more
complex queries (like "title:apple* and published:1995").

I would appreciate any input.

Dado


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ian Holsman  
View profile  
 More options Oct 30 2005, 7:39 pm
From: Ian Holsman <kry...@gmail.com>
Date: Mon, 31 Oct 2005 11:39:21 +1100
Local: Sun, Oct 30 2005 7:39 pm
Subject: Re: How to integrate a search engine in a Django site?
It isn't *exactly* what you want,
but one of the developers (hugo) has implemented some search
functionality described here:
https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/AbstractS...

I've also modified one of his wrappers to 'improve' the generic list
object to allow basic filtering.
http://svn.zilbo.com/svn/django/common/filter/views/filter.py

hope this helps

On 10/31/05, Dado <marco...@gmail.com> wrote:

> Does anybody have any experience in integrating a search engine that
> can do full-text search into a Django web site? Perhaps, Lupy or
> pyLucene, or something SQL-based like MySQL or PostGres full-text
> search queries? Of course the frontend should be a simple search box
> where users can input anything from a set of simple words to more
> complex queries (like "title:apple* and published:1995").

> I would appreciate any input.

> Dado

--
I...@Holsman.net -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dado  
View profile  
 More options Oct 30 2005, 7:45 pm
From: "Dado" <edoardo.marc...@gmail.com>
Date: Sun, 30 Oct 2005 16:45:41 -0800
Local: Sun, Oct 30 2005 7:45 pm
Subject: Re: 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.

Dado


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hugo  
View profile  
 More options Nov 1 2005, 6:38 pm
From: "hugo" <g...@hugo.westfalen.de>
Date: Tue, 01 Nov 2005 23:38:34 -0000
Local: Tues, Nov 1 2005 6:38 pm
Subject: Re: 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...

It 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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google