Re: ts_count

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ts_count
Date: 2011-06-05 02:09:25
Message-ID: 4DEAE555.7040203@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 06/04/2011 08:59 PM, Alvaro Herrera wrote:
> Excerpts from Andrew Dunstan's message of sáb jun 04 08:47:02 -0400 2011:
>
>> A snippet from the regression test:
>>
>>
>> select ts_count(to_tsvector('managing managers manage peons managerially'),
>> to_tsquery('managers | peon'));
>> ts_count
>> ----------
>> 4
> Err, shouldn't this return 5?

No. 'managerially' doesn't get the same stemming.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-06-05 03:03:45 heap vacuum & cleanup locks
Previous Message Alvaro Herrera 2011-06-05 00:59:51 Re: ts_count