PostgreSQL: Full Text Search – How to search partial words?

Try,

SELECT title FROM movies WHERE to_tsvector(title) @@ to_tsquery('squire:*')

This works on PostgreSQL 8.4+

Leave a Comment