FUNCTIONS / TEXT SEARCH FUNCTIONS AND OPERATORS
Computes a score showing how well the vector matches the query, using a cover density algorithm.
Signatures & examples
ts_rank_cd ( [ weights real[], ] vector tsvector, query tsquery [, normalization integer ] ) → real
Computes a score showing how well the vector matches the query, using a cover density algorithm. See Section 12.3.3 for details.ts_rank_cd(to_tsvector('raining cats and dogs'), 'cat') → 0.1
Version history 1
- PG 12 → 13changed
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source