Loading topic
SELECT, WHERE, and ORDER BY queries, create a table, and run queries in psql or another SQL client. You should also know how to create an index.2 min readtsvector column, and have a GIN index on that column. The examples use the articles table from the previous chapter, with title, body, and a stored search column.1 min readCREATE TABLE and CREATE INDEX, and basic use of to_tsvector and the @@ operator. Recomputing to_tsvector on every query is slow, so you will store the vector in the table and index it.2 min read