Russ Cox personal blog

How Google Code Search Worked: Regex Matching with a Trigram Index (2012)

In the summer of 2006, I was lucky enough to be an intern at Google. At the time, Google had an internal tool called gsearch that acted as if it ran grep over all the files in the Google source tree and printed the results. Of course, that implementation would be fairly slow, so what gsearch actually did was talk to a…
Points
434
HN comments
177
Submissions
5
Cited by
31 commenters

Software EngineeringDatabases & Data2018

On Hacker News

SubmittedTitle on HNPointsComments
Dec 2, 2018How Google Code Search Worked: Regex Matching with a Trigram Index (2012) by kbumsik43470
Jan 19, 2012How Google Code Search Worked by basugasubaku28745
Mar 12, 2020How Google Code Search Worked (2012) by rsc16843
Feb 7, 2023Regular Expression Matching with a Trigram Index (2012) by colinprince12216
May 27, 2024Regular Expression Matching with a Trigram Index (2012) by tosh963

Cited in comments

Linked from 32 Hacker News comments by 31 different people, from Oct 2012 to Mar 2026.

Most recent:

Search every comment that links here →

More from Russ Cox

All 6 posts →

Related posts from the same era