Fix ts_rank_cd() to ignore stripped lexemes
Bruce Momjian <bruce@momjian.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/textsearch.sgml | modified | +7 −3 |
| src/backend/utils/adt/tsrank.c | modified | +3 −2 |
| src/test/regress/expected/tsearch.out | modified | +14 −0 |
| src/test/regress/sql/tsearch.sql | modified | +6 −0 |