diff --git a/web/docs/guides/database/full-text-search.mdx b/web/docs/guides/database/full-text-search.mdx index 8b08de50a5e..5a380a6e90c 100644 --- a/web/docs/guides/database/full-text-search.mdx +++ b/web/docs/guides/database/full-text-search.mdx @@ -395,8 +395,9 @@ values={[ alter table books add column - fts tsvector generated always as to_tsvector(description || ' ' || title); - + fts tsvector generated always as to_tsvector(description || ' ' || title) stored; + +create index books_fts on books using gin (fts); -- generate the index select id, fts from books;