Introduction
to_tsvector changes text into a form that helps find words quickly in a big document.
You want to search for words inside a large text like an article or book.
You need to find all documents that mention a certain word or phrase.
You want to prepare text so the database can search it faster.
You want to ignore small words like 'the' or 'and' when searching.
You want to match different forms of a word, like 'run' and 'running'.