Re: tsearch2: plainto_tsquery() with OR?
| От | Tom Lane |
|---|---|
| Тема | Re: tsearch2: plainto_tsquery() with OR? |
| Дата | |
| Msg-id | 3797.1186636155@sss.pgh.pa.us обсуждение |
| Ответ на | Re: tsearch2: plainto_tsquery() with OR? (Oleg Bartunov <oleg@sai.msu.su>) |
| Ответы |
Re: tsearch2: plainto_tsquery() with OR?
Re: tsearch2: plainto_tsquery() with OR? Re: tsearch2: plainto_tsquery() with OR? |
| Список | 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 по дате отправления: