Re: tsearch2: plainto_tsquery() with OR? - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: tsearch2: plainto_tsquery() with OR?
Date
Msg-id Pine.LNX.4.64.0708090853440.18739@sn.sai.msu.ru
Whole thread Raw
In response to Re: tsearch2: plainto_tsquery() with OR?  (cluster <skrald@amossen.dk>)
Responses Re: tsearch2: plainto_tsquery() with OR?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: tsearch2: plainto_tsquery() with OR?  (cluster <skrald@amossen.dk>)
List pgsql-general
On Wed, 8 Aug 2007, cluster wrote:

> Does anyone know where I can request an OR-version of plainto_tsquery()?

plainto_tsquery expects plain text, use to_tsquery for boolean operators.

>
> I don't understand why it doesn't exist already: In most cases, when using
> user entered keywords to search for, there should be returned some  rows even
> though not ALL keywords are matched.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

pgsql-general by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Crosstab Question
Next
From: Tom Lane
Date:
Subject: Re: tsearch2: plainto_tsquery() with OR?