pgsql: Fix ts_rank_cd() to ignore stripped lexemes

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ts_rank_cd() to ignore stripped lexemes
Date: 2014-03-24 18:37:19
Message-ID: E1WS9kN-0005PL-U5@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1420f3a9827a39e5c6c998f6fa35a6fc97903145

Modified Files
--------------
doc/src/sgml/textsearch.sgml | 10 +++++++---
src/backend/utils/adt/tsrank.c | 5 +++--
src/test/regress/expected/tsearch.out | 14 ++++++++++++++
src/test/regress/sql/tsearch.sql | 6 ++++++
4 files changed, 30 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-24 19:47:05 pgsql: docs: Add short "cover density" description
Previous Message Heikki Linnakangas 2014-03-24 16:44:53 pgsql: Change ginMergeItemPointers to return a palloc'd array.