search
setweight
Labels positions A through D for field importance; combine weighted vectors to distinguish title and body matches.
Formal Syntax & Structure
sql syntaxsql
setweight(vector, weight)Working Example
Example Snippetsql
SELECT setweight(to_tsvector('simple','sql'),'A');