]> granicus.if.org Git - postgresql/commit
Fix ts_rank_cd() to ignore stripped lexemes
authorBruce Momjian <bruce@momjian.us>
Mon, 24 Mar 2014 18:36:36 +0000 (14:36 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 24 Mar 2014 18:37:16 +0000 (14:37 -0400)
commit1420f3a9827a39e5c6c998f6fa35a6fc97903145
treecf2a72a44f59cd9dcdffb986f56b1237f627fcee
parentbb42e21be274a71f6868ce2fc8fae2c15c3ecf66
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
doc/src/sgml/textsearch.sgml
src/backend/utils/adt/tsrank.c
src/test/regress/expected/tsearch.out
src/test/regress/sql/tsearch.sql