Re: tsearch2 for 7.3.X - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: tsearch2 for 7.3.X
Date
Msg-id Pine.GSO.4.56.0307230804160.6172@ra.sai.msu.su
Whole thread Raw
In response to Re: tsearch2 for 7.3.X  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
On Wed, 23 Jul 2003, Christopher Kings-Lynne wrote:

> > > SELECT intindex, strtopic FROM tblmessages
> > >                                   WHERE idxfti @@ 'jam and
> > > toast -guitar'::userquery::tsquery;
> >
> > idxfti @@ 'jam & toast & ! guitar'
>
> I mean, the end user - the person entering the search string on the website
> won't know that syntax...

You always could rewrite user query to that syntax.

>
> Chris
>
Regards,    Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


pgsql-hackers by date:

Previous
From: Hans-Jürgen Schönig
Date:
Subject: Re: PostgreSQL 7.3.3 and Intel C compiler
Next
From: marcus.boerger@t-online.de (Marcus Börger)
Date:
Subject: Re: php with postgres