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: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/ phone: +007(095)939-16-83, +007(095)939-23-83 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html