feat: implement hybrid document search combining Quickwit results with PostgreSQL pg_trgm title search, supported by a new index.

This commit is contained in:
2025-11-30 23:50:38 +01:00
parent f4b564b9e1
commit 9aa16b0729
3 changed files with 33 additions and 6 deletions
@@ -0,0 +1,6 @@
CREATE EXTENSION IF NOT EXISTS pg_trgm;
CREATE INDEX idx_documents_title_trgm
ON tenant.documents
USING gin (title gin_trgm_ops)
WHERE deleted_at IS NULL;