Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd
Дата
Msg-id 20140211154537.GA2289@momjian.us
обсуждение исходный текст
Ответ на Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd  (Alexander Hill <alex@hill.net.au>)
Ответы Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd  (Alexander Hill <alex@hill.net.au>)
Список pgsql-bugs
On Fri, Feb  7, 2014 at 02:07:59AM +0800, Alexander Hill wrote:
> Hi Bruce, all,
>
> I think this can be solved (if it's agreed that it's a bug) in a pretty
> straightforward way: when creating the document representation used in
> calculating cover density rank, we can just skip lexemes with no position
> entirely.
>
> Fix and tests here: https://github.com/AlexHill/postgres/compare/bug_8354
>
> As a patch file here: https://github.com/AlexHill/postgres/commit/
> cd522b254d166d569b86803115f0f499864e949b.patch

OK, great.  I am attaching this patch.  Would this change the contents
of any indexes?  That would be a problem for pg_upgrade.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Nested loop does not preserve order. Why?
Следующее
От: krichter722@aol.de
Дата:
Сообщение: BUG #9189: error reading postgresql.conf in pg_createcluster