Files
amcs/migrations/010_fulltext_index.sql

4 lines
204 B
SQL

-- Full-text search index on thought content for semantic fallback when no embeddings exist.
create index if not exists thoughts_content_fts_idx
on thoughts using gin(to_tsvector('simple', content));