GitLab
GitLab logoGitLab · Feature trail

PostgreSQL Trigram Indexes for Search

2 posts · Mar 2016

What this trail covers

GitLab has improved its search performance for PostgreSQL users by implementing trigram indexes. This enhancement allows for faster queries using LIKE conditions, significantly speeding up searches for issues, comments, commits, code, merge requests, and snippets. The implementation involved adapting Rails to support PostgreSQL-specific index types and ensuring compatibility with MySQL.

All GitLab trails