Re: ts_count - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: ts_count
Date
Msg-id 4DEAE555.7040203@dunslane.net
Whole thread Raw
In response to Re: ts_count  (Alvaro Herrera <alvherre@commandprompt.com>)
List 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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: ts_count
Next
From: Robert Haas
Date:
Subject: heap vacuum & cleanup locks