Files
bookhoard/database/schema
john-okeefe 7b49ab253f perf: add GIN indexes for pg_trgm fuzzy search optimization
Add GIN indexes with gin_trgm_ops for text fields used in fuzzy search:
- author, title, series, genre, language fields

These indexes significantly improve performance of word_similarity()
queries used in the unified search implementation. pg_trgm extension
must already be enabled for these indexes to function.

Performance impact: O(n) sequential scans become O(log n) index scans
for fuzzy text search operations.
2026-03-22 20:35:01 -04:00
..