The alpha, twice a week
That was 3 min.
Get the best new moments in your inbox every Wednesday and Saturday. It's free.
Check your inbox
We sent a link to your address. Click it to finish signing up. Not there in a minute? Look in spam.
or
Latent Space · 3 min · Feb 12, 2026
Putting Google’s search index in memory changed query quality
Jeff Dean recounts how Google’s 2001 in-memory index made it practical to expand short queries with synonyms.
The episode’s best minutes
Full analysis- 3:46Distillation can make Flash outperform the previous ProPro pick 3 min
- 24:02Putting Google’s search index in memory changed query quality3 min
- 31:53Data movement explains why accelerators need batching2 min
- 5 more moments in the full episode
“we put our entire index in memory and what that enabled from a quality perspective was amazing”
Jeff Deanat 25:41 · Latent SpaceTakeaways
- A full index fit in memory across 1,200 machines.
- Memory made many more query terms practical to process.
- Synonyms helped search match meaning, not just exact wording.
About this segment
Jeff Dean recounts how Google’s 2001 in-memory index made it practical to expand short queries with synonyms. That shift let search match meaning rather than depend so strictly on the exact words users typed.
Jeff Dean is Chief AI Scientist at Google.
Co-founded AI startup Discovery Loop; previously Google chief scientist and co-creator of MapReduce, Bigtable.

Shawn Wang (swyx), Host · Co-founder, AI Engineer
Wrote “The Rise of the AI Engineer” and founded Smol AI, maker of AI News.

Alessio Fanelli, Host · Founder, Kernel Labs
Partner at Decibel, backing technical founders who build developer tools.
From “The AI Frontier: from Gemini 3 Deep Think distilling to Flash — Jeff Dean”, Feb 12, 2026. Watch the full episode
Thanks. We'll look at and fix what's off.
Transcript
Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.
- 24:09
Oh, yeah. I mean, I actually gave a talk in, I guess, a web search and data mining conference in 2009. Okay. Where we never actually published any papers about the origins of Google search. sort of but we went through sort of four or five or six generations four or five or six generations of redesigning of the search and retrieval system from about 1999 through 2004 or five and that talk is really about that evolution and one of the things that really happened in 2001 was we were sort of working to scale the system in multiple dimensions so one is we wanted to make our index bigger so we could retrieve from a larger index which always helps your quality in general uh because if you don't have the page in your index you're gonna not do well um and then we also needed to scale our capacity because we were our traffic was growing quite extensively um and so we
- 25:06
had you know a sharded system where you have more and more shards as the index grows you have like 30 shards and then if you want to double the index size you make 60 shards so that you can bound the latency by which you respond for any particular user query. And then as traffic grows, you add more and more replicas of each of those. And so we eventually did the math that realized that in a data center where we had, say, 60 shards and 20 copies of each shard, we now had 1,200 machines with disks. And we did the math and we're like, hey, one copy of that index would actually fit in memory across 1,200 machines.
- 25:44
so in 2001 we introduced uh we put our entire index in memory and what that enabled from a quality perspective was amazing because before you had to be really careful about you know how many different terms you looked at for a query because every one of them would involve a disk seek on every one of the 60 shards and so you as you make your index bigger that becomes even more inefficient. But once you have the whole index in memory, it's totally fine to have 50 terms you throw into the query from the user's original three or four word query, because now you can add synonyms like restaurant and restaurants and cafe and bistro and all these things. And you can suddenly start sort of really getting at the meaning of the word as opposed to the exact semantic form the user typed in and that was you know 2001 very much pre-llm but really it was
- 26:41
about softening the the strict definition of what the user typed in order to get at the meaning what are like principles that you use to like design the systems especially when you have i