Process Flow - Full-text search with Postgres
User inputs search query
Convert query to tsquery format
Postgres searches tsvector column
Match rows returned
Results sent back to user
The user enters a search phrase, which is converted into a format Postgres understands. Postgres then searches the indexed text data and returns matching rows.