Skip to content
Theory · JSONB and Full-Text Search · lesson 9 of 13

Full-text search

The chain's shops stand in Kazan, Omsk and Samara, and customers write their reviews in Russian. The manager wants to find everything written about the foam. No one looks for a word in a thick book by turning the pages one by one: they open the subject index at the back.

In this lesson

  • Why not LIKE
  • tsvector: text as an index
  • tsquery and @@
  • Common mistake
  • Key points