pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Louis-David Mitterrand <vindex+lists-pgsql-sql@apartia.org>
To: pgsql-sql@postgresql.org
Subject: Re: simple web search
Date: Fri, 23 Feb 2007 19:34:52 +0100
Message-ID: <20070223183452.GA23406@apartia.fr> (raw)
In-Reply-To: <1172255474.736.1.camel@pampa>
References: <20070223162731.GA25577@apartia.fr>
	<1172255474.736.1.camel@pampa>

On Fri, Feb 23, 2007 at 01:31:14PM -0500, Joe wrote:
> Hello Louis-David,
> 
> On Fri, 2007-02-23 at 17:27 +0100, Louis-David Mitterrand wrote:
> > I'm considering implementing a search box on my review web site 
> > http://lesculturelles.net and am looking for a simple way to match 
> > entered words against several columns on related tables: show.show_name, 
> > story.title, person.firtname, person.lastname, etc.
> > 
> > What is the most elegant way to build a single query to match search 
> > words with multiple columns?
> 
> You may want to take a look at contrib/tsearch2.

Thanks Joe, I initially wanted to avoid dipping my toe into tsearch2 but 
it might be what I need after all :)



view thread (8+ messages)  latest in thread

Message-ID: <20070223183452.GA23406@apartia.fr>
Permalink:  ../20070223183452.GA23406@apartia.fr/
Also on:    postgresql.org/message-id/20070223183452.GA23406@apartia.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: vindex+lists-pgsql-sql@apartia.org
  Subject: Re: simple web search
  In-Reply-To: <20070223183452.GA23406@apartia.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox