PG fulltext search: Boost factor for word in the title
Yes, you can do that using ts_rank:
You can use setweight to give different parts of the text search vector different weight:
SELECT * from atable
WHERE (to_tsvector('english', title) ||
       to_tsvector('english', content)
      ) @@ to_tsquery('english', 'happy &lt;-&gt; home')
ORDER BY ts_rank(setweight(to_tsvector('english', title), 'A') ||
                 setweight(to_tsvector('english', content), 'C'),
                 to_tsquery('english', 'happy &lt;-&gt; home'));

Then the title will be ranked higher (weight A) than the content (weight C).