Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSAsl-0001j8-Ed for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Mar 2014 19:50:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WSAsk-0002aQ-Lu for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Mar 2014 19:50:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSAsk-0002aK-0m for pgsql-bugs@postgresql.org; Mon, 24 Mar 2014 19:50:02 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WSAsh-00032x-9D for pgsql-bugs@postgresql.org; Mon, 24 Mar 2014 19:50:01 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WSAse-00012k-IS; Mon, 24 Mar 2014 15:49:56 -0400 Date: Mon, 24 Mar 2014 15:49:56 -0400 From: Bruce Momjian To: Tom Lane Cc: Alexander Hill , pgsql-bugs@postgresql.org Subject: Re: BUG #8354: stripped positions can generate nonzero rank in ts_rank_cd Message-ID: <20140324194956.GE15836@momjian.us> References: <20140131212251.GQ19957@momjian.us> <20140211154537.GA2289@momjian.us> <20140212143151.GA12551@momjian.us> <20140321134323.GA1701@momjian.us> <16233.1395413118@sss.pgh.pa.us> <20140321221015.GA26056@momjian.us> <20140324183730.GD15836@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140324183730.GD15836@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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 http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs