Optimizing full-text search with Postgres materialized view in Rails
In Ruby on Rails with pg_search gem tt is easy to search columns on associated models. Unfortunately, there is no simple solution to speed up those searches. This article shows how to optimize search with Postgres materialized view.
https://caspg.com/blog/optimizing-full-text-search-with-postgres-materialized-view-in-rails
Post a comment