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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alexander Hill <alex(at)hill(dot)net(dot)au>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd
Date: 2014-03-24 19:49:56
Message-ID: 20140324194956.GE15836@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Mar 24, 2014 at 02:37:30PM -0400, Bruce Momjian wrote:
> > OK, thanks. Updated patch attached. If Alexander Hill would like to
> > add more C comments to any of the ts*.c files, or docs explaining what
> > "cover density" is, I would be glad to include those in the patch as
> > well.
>
> Patch applied with this commit message:
>
> Fix ts_rank_cd() to ignore stripped lexemes
>
> Previously, stripped lexemes got a default location and could be
> considered if mixed with non-stripped lexemes.
>
> BACKWARD INCOMPATIBILITY CHANGE

FYI, I forgot to mention Alex Hill's name in this commit, so I have
added a little docs around cover density and mentioned his name as
author of the previous patch so we can reflect that in the 9.4 release
notes.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2014-03-24 20:00:28 Re: PQclientEncoding() returns -1, resulting in possible assertion failure in psql
Previous Message Bruce Momjian 2014-03-24 18:37:30 Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd