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

From Tom Lane
Subject Re: tsearch2: plainto_tsquery() with OR?
Date
Msg-id 3797.1186636155@sss.pgh.pa.us
Whole thread Raw
In response to Re: tsearch2: plainto_tsquery() with OR?  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: tsearch2: plainto_tsquery() with OR?  (Oleg Bartunov <oleg@sai.msu.su>)
Re: tsearch2: plainto_tsquery() with OR?  ("Trevor Talbot" <quension@gmail.com>)
Re: tsearch2: plainto_tsquery() with OR?  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
List pgsql-general
Oleg Bartunov <oleg@sai.msu.su> writes:
> 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.

Are either of these definitions really right?  If I type "foo bar baz"
into Google, for instance, it seems to produce some sort of weighted
result, neither a strict AND nor a strict OR.  Google didn't get where
they are by misjudging what the simplest search behavior should be like.

            regards, tom lane

pgsql-general by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: tsearch2: plainto_tsquery() with OR?
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch2: plainto_tsquery() with OR?