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