From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Teodor Sigaev <teodor(at)sigaev(dot)ru>, Andreas Joseph Krogh <andreak(at)officenet(dot)no>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: tsearch2 for 7.3.X |
Date: | 2003-07-23 04:05:10 |
Message-ID: | Pine.GSO.4.56.0307230804160.6172@ra.sai.msu.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2003-07-23 04:11:26 | Re: tsearch2 for 7.3.X |
Previous Message | Ang Chin Han | 2003-07-23 03:11:33 | Re: reprise on Linux overcommit handling |