search
ts_rank
Scores matching lexemes using frequency and weights. Scores are not probabilities or universally comparable across configurations.
Formal Syntax & Structure
sql syntaxsql
ts_rank([weights,] vector, query [, normalization])Working Example
Example Snippetsql
SELECT ts_rank(to_tsvector('simple','sql guide'), to_tsquery('simple','sql')) > 0;