Databases · Middle · Question 34 of 75

What does PostgreSQL full-text search give you compared with ILIKE '%word%'?

Explanation

to_tsvector('english', body) @@ to_tsquery('running') matches 'run' and 'runs'. For typo tolerance and facets, dedicated engines like Elasticsearch or Meilisearch go further.

Further reading

Problem with a question

Databases · Middle · question 34

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz