Skip site navigation (1) Skip section navigation (2)

Re: Writting a "search engine" for a pgsql DB

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Madison Kelly <linux(at)alteeve(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Writting a "search engine" for a pgsql DB
Date: 2007-02-26 17:04:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Madison Kelly wrote:
> Hi all,
>   I am asking in this list because, at the end of the day, this is a
> performance question.
>   I am looking at writing a search engine of sorts for my database. I
> have only ever written very simple search engines before which amounted
> to not much more that the query string being used with ILIKE on a pile
> of columns. This was pretty rudimentary and didn't offer anything like
> relevance sorting and such (I'd sort by result name, age or whatnot).
>   So I am hoping some of you guys and gals might be able to point me
> towards some resources or offer some tips or gotcha's before I get
> started on this. I'd really like to come up with a more intelligent
> search engine that doesn't take two minutes to return results. :) I
> know, in the end good indexes and underlying hardware will be important,
> but a sane as possible query structure helps to start with.

See, you can download all source from

Joshua D. Drake

>   Thanks all!!
> Madison
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?


      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997

Donate to the PostgreSQL Project:
PostgreSQL Replication:

In response to


pgsql-performance by date

Next:From: Joshua D. DrakeDate: 2007-02-26 17:08:03
Subject: Re: low memory usage reported by 'top' indicates poor tuning?
Previous:From: Mark StosbergDate: 2007-02-26 16:52:09
Subject: low memory usage reported by 'top' indicates poor tuning?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group