Re: ts_count

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: ts_count
Дата
Msg-id 4DEAE555.7040203@dunslane.net
обсуждение исходный текст
Ответ на Re: ts_count  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: ts_count
Следующее
От: Robert Haas
Дата:
Сообщение: heap vacuum & cleanup locks