Re: tsearch2: plainto_tsquery() with OR?

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: cluster <skrald(at)amossen(dot)dk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tsearch2: plainto_tsquery() with OR?
Date: 2007-08-09 04:55:06
Message-ID: Pine.LNX.4.64.0708090853440.18739@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-08-09 05:09:15 Re: tsearch2: plainto_tsquery() with OR?
Previous Message Michael Glaesemann 2007-08-09 01:36:03 Re: Crosstab Question