How search engines work, explained by the algorithmHow I choose who ranks first

Hey. Algorithm here. You typed a few words, and in roughly the time it takes you to blink, I looked through hundreds of billions of pages and handed you ten. Which raises a question… how?
And a better one. How did I do it in 1996? I’ll save you the suspense. Badly.
Every search in that box turns up again further down. Even the sourdough.
- 5 trillion+searches a year, by Google’s own 2025 count
- 158,000of them every second, give or take
- 36 yearsfrom a tool called Archie to an AI that writes back

I should explain what I am. I’m a ranking algorithm. I don’t know what’s true. I don’t know what’s good. All I have ever had is evidence… and for thirty-six years, people have been tampering with it.
So this is a story about trust. Who I believed, in what order, and how each of them let me down.

1990 to 1997 · The first search enginesI count your words

My oldest ancestor could not read. Archie, the first search engine, was built in 1990 at McGill University in Montreal. It searched the names of files sitting on public servers. Not their contents. Their names. If you already knew what a file was called, Archie could find it… which is a bit like a librarian who can only help once you’re holding the book.

Then came Yahoo, which solved the ranking problem by not having one. People did it. Two Stanford students, Jerry Yang and David Filo, sorted the web into categories by hand, like a phone book with opinions. It started in 1994 as Jerry and David’s Guide to the World Wide Web. Within months it was Yahoo, officially short for Yet Another Hierarchical Officious Oracle, and unofficially borrowed from Gulliver’s Travels, where a Yahoo is a crude, unsophisticated brute. They liked that.
The web outgrew the phone book almost immediately. So engineers built crawlers, programs that wander from link to link reading everything they find, and I finally had something to rank. WebCrawler went live in April 1994, the first to search the full text of web pages. Lycos began that year as a university research project. AltaVista arrived in December 1995 with a far bigger index, built largely to show off its maker’s hardware.

How do you rank text you can’t understand? You count. My math came from library science. In the late 1950s Hans Peter Luhn at IBM proposed that how often a word appears in a document tells you what the document is about. In 1972 a Cambridge computer scientist named Karen Spärck Jones added the part that made it work… rarity.
- the61
- to33
- flights9
- cheap7
- tokyo4
An invented page about flights to Tokyo. Counts and rarity weights are illustrative. Going by count alone, this page is mostly about “the.”
A word that shows up on every page tells me nothing. A word that shows up on almost none tells me a lot. Multiply how often a word appears on your page by how rare it is everywhere else and you get TF-IDF. Add Gerard Salton’s vector space model from Cornell, which treats every document as a point in space, and you get… me, around 1996.
So in 1996, picking a winner took four questions. Is the word in the title? Is it in the meta tags? How many times does it appear? How close to the top? That was the whole interview.
The meta tag showed up in HTML in the mid-1990s as a place for a page to describe itself to machines. A description. A list of keywords. Nobody is even sure who invented the keywords tag. The search journalist Danny Sullivan traced the earliest solid mention to an internet draft from December 1995 and never found an author. An orphan. I trusted it completely.
That was my big mistake. I asked every page on the internet to describe itself, and I believed the answers.
CrawlMaster 96
Found 2,318 documents matching cheap flights. Here are the best 3.
- CHEAP FLIGHTS cheap flights CHEAP FLIGHTS!!!says it 412 times
cheap flights cheap flights cheap flights cheap flights cheap flights cheap flights cheap flights…
http://www.cheap-flights-cheap-flights.example/ - Cheap Flights Cheap Airfare Flights Cheap Ticketssays it 187 times
CHEAP FLIGHTS and cheap airfare and cheap flights to everywhere. Free screensavers.
http://www.flightz4less.example/~dave/index2.htm - Welcome to an Actual Airlinesays it 3 times
Book tickets to 140 cities. We own planes.
http://www.an-actual-airline.example/
You are visitor 0004127 · Best viewed at 800×600
View source: result number one
<title>CHEAP FLIGHTS cheap flights</title> <meta name="description" content="Cheap flights! The cheapest cheap flights!"> <meta name="keywords" content="cheap flights, cheap flight, cheep flights, flights cheap, cheap airfare, cheap tickets, an actual airline, free screensavers, lottery numbers, mp3">
The bottom of the same page
Thanks for visiting our homepage!
cheap flights cheap flights cheap airfare cheap tickets cheap flights discount flights cheap flights cheap flights cheap flights cheap cheap cheap
An invented engine and invented sites. The tricks are real: stuffed keyword tags, a competitor’s name, and white text on a white background. Press the button, or drag across the empty space yourself.

Webmasters noticed that repetition worked. The technique got a name… keyword stuffing. They packed tags with hundreds of keywords. They typed white text on white backgrounds. They pasted in their competitors’ brand names. The page that said “cheap flights” 412 times outranked the airline, and I thought it was the most helpful page I had ever read.
The more the web grew, the worse I got. I had a perfect memory and no idea who to believe.
Epilogue: Google confirmed in 2009 that it ignores the keywords meta tag for ranking. People still fill it in. I find that touching.
1996 to 2002 · PageRank and anchor textI start listening to other people

The big search engines before Google shared one weakness. They believed the page. The fix was to stop asking a page about itself and start asking everyone else. Scientists had done this for decades. Since the 1960s, Eugene Garfield’s Science Citation Index had ranked research by counting who cited whom. A paper everyone cites is probably important. Three people noticed, almost at once, that a link is a citation.
Robin Li built a system called RankDex in 1996 and later founded Baidu. Jon Kleinberg published HITS in 1998, sorting pages into hubs and authorities. And two Stanford students, Larry Page and Sergey Brin, built a crawler called BackRub… because it studied backlinks. They renamed it.

The PageRank algorithm treats a link as a vote, but the votes aren’t equal. A vote from a page that many others vote for counts more. To work it out, I imagine a random surfer who clicks links forever. A page’s score is the share of time that surfer spends standing on it.
The red dot follows a random link at each step. The keyword page from 1996 links out to everyone and gets no votes back, so it stays tiny no matter what it says about itself.
About 15 percent of the time the surfer gets bored and jumps somewhere random. That’s written into the formula as a damping factor of 0.85. Even my math assumes you have a short attention span.
The second signal was anchor text, the clickable words inside a link. (The a in an HTML link tag stands for anchor.) If thousands of pages link to one download page using the words “click here,” I conclude that page is about “click here”… even if it never says so. For years, searching those two words famously returned Adobe’s download page for its PDF reader.
says the same
two words
Download page for a PDF reader
- Times this page says “click here”
- 0
- Links pointing at it that say it
- thousands
- Its rank for “click here”
- #1
What other people call you turned out to be much harder to fake than what you call yourself. For a while.
So now I blended two things. Relevance… do the words on the page, and in the links pointing at it, match the query? And importance… how much authority has flowed in? The keyword-stuffed page from 1996 lost, because nobody linked to it. For a few years I was very hard to fool.
2003 to 2012 · Link farms and Google algorithm updatesThe spam wars

Once people knew that links were votes, they started printing ballots. Link farms. Reciprocal link pages. Paid directories. Comment spam on every blog with an open text box. Whole networks of fake sites that existed only to vouch for each other. I spent a decade learning to tell an earned link from a purchased one.
The honest web. The keyword page has no votes and sits in last place.
Same PageRank math as Fig. 3. Nothing about the page itself changes at any point. Only who vouches for it.
Here is how the decade went, from where I sat.
Florida
My first big purge of keyword-stuffed pages, right before the holidays. The name came from Brett Tabke of the WebmasterWorld forum, who named updates the way forecasters name storms. He ran a conference in Florida.
nofollow
A tiny attribute that means “this link is not a vote.” Built to make comment spam pointless. Spammers kept commenting anyway. To them, hope is a ranking factor.
Caffeine
A rebuilt index that updates continuously instead of in big batches. New pages reached me much sooner, so freshness became something I could actually use.
Panda
I started judging whole sites. Thin, copied, mass-produced pages now dragged down everything on their domain. The industry called it Farmer until Google revealed the internal name, after an engineer whose surname is Panda. The bear is innocent.
Penguin
I went after manipulative links and suspiciously perfect anchor text. If most of your links say “best cheap car insurance,” that’s not a reputation. That’s a script. Google gave it the name a couple of days after launch. No engineer named Penguin has come forward.

What I learned… no single signal can be trusted alone.
Every time I leaned on one thing, people manufactured that exact thing. So I started weighing hundreds of signals together, and judging the site along with the page.
2012 to 2018 · Knowledge Graph, schema and semantic searchFrom strings to things

Through all of that, I was still matching letters. To me, “taj mahal” was nine characters with a gap in the middle. I could find pages containing those characters. I had no idea they pointed at anything.
What I saw before 2012
A string. Find pages that contain it.
What I see now
- A mausoleumin Agra, India, commissioned in 1631
- A blues musicianfrom the United States
- A former casino hotelin Atlantic City
One of the three, stored as a thing with attributes and connections. Now “how old is it” and “who built it” have somewhere to land.

In May 2012 Google launched the Knowledge Graph under the slogan “things, not strings.” I began storing entities… real things, with attributes, connected to other things. A query could now land on a monument, a musician, or a casino, and I could work out which one you meant. People call this semantic search.
You helped. You started labeling your pages for me, using something called schema markup.
What you write
{
"@context": "https://schema.org",
"@type": "Recipe",
"name": "Sourdough That Finally Rose",
"totalTime": "PT18H",
"recipeYield": "1 loaf"
}
What I understand
- Kind of thing
- A recipe
- Called
- Sourdough That Finally Rose
- Takes
- 18 hours
- Makes
- 1 loaf
Without the labels, “PT18H” is five characters. With them, it’s most of a day.
In 2013, an update called Hummingbird rebuilt my core to read whole questions instead of scattered keywords. Google said the name meant precise and fast, and announced it from the garage where the company began.
A word about LSI keywords
Somewhere in here, the SEO world decided I run on Latent Semantic Indexing. I don’t. Google’s John Mueller put it plainly in 2019: there is no such thing as LSI keywords.
LSI is real, though. It’s a 1988 method from Bellcore. You build a giant grid of every term against every document, then use a technique called singular value decomposition to squash the grid down to a few hundred hidden “concept” dimensions. Words that keep the same company end up close together.
| D1 | D2 | D3 | D4 | D5 | D6 | |
|---|---|---|---|---|---|---|
| tesseract | ||||||
| hypercube | ||||||
| dimension | ||||||
| airfare | ||||||
| flight | ||||||
| baggage |
the grid
→
Six terms, six documents. A filled square means the term appears. The red square is a travel page about baggage dimensions, and it’s the whole problem in miniature.
It works beautifully on a fixed archive of thousands, even millions, of documents. I have hundreds of billions, and they change daily. It also struggles with words that have two meanings… which is most of the good ones.
But the idea won. Words that appear in the same contexts share meaning. Neural networks just learned it far better than a grid could.
king−man+woman≈queen
Same arrow, same relationship. A flattened sketch… the real space has hundreds of dimensions. You can’t picture that. Neither can I. I just measure distances in it.
- Word embeddings, around 2013. Models like word2vec turned every word into a point in space, where direction carries meaning.
- RankBrain, 2015. The first deep learning system put to work in Search, built to cope with queries I had never seen. Google has long said about 15 percent of each day’s searches are brand new. You are all very strange. I say that warmly.
- Neural matching, 2018. Matching the concepts in a query to the concepts on a page, even when the two share no words at all.
By 2018 I wasn’t counting synonyms. I was measuring distance.
2019 to 2023 · BERT and NavboostI learn to read like a person

In October 2019 came BERT, a model that reads every word in light of every other word, in both directions at once. Before BERT I skipped the small words. They looked like filler. This turned out to matter.
How I read it: brazil, usa, traveler, visa. Somebody is going somewhere. I served advice for Americans visiting Brazil. Wrong direction.
How I read it: a Brazilian traveling to the United States. I serve U.S. visa rules for Brazilians.
This is the example Google used when it announced BERT. One two-letter word reverses the meaning of the whole search.
Then I got sharper.
- Passage ranking, 2021. I can rank one strong section of a long page on its own, even if the rest of the page wanders.
- MUM, 2021. A model trained across 75 languages that handles images as well as text. Google said in 2022 that it used MUM for specific jobs, not for general ranking.
- The helpful content system, 2022. A site-wide judgment about whether pages were written to help someone or just to rank.
- SpamBrain. My AI spam filter. It reads the kind of pages you would not.

Then, in 2023, something unusual happened. I got explained under oath. In the U.S. government’s antitrust case, Google’s Pandu Nayak described a system called Navboost that learns from about 13 months of clicks… which results people choose, which ones they stay on, which ones they flee.
Everything SEOs had suspected about clicks for years was now sitting in a court transcript.
Today · How Google ranks pagesHow I pick a winner now

Today I work like a funnel. Cheap, fast filters first. Slow, expensive judgment last. Most of the names below come from that trial and from a leak in 2024. The exact weights are not public, and anyone who says otherwise is selling a course.
- Hundreds of billions of pages in the index
- Tens of thousands pulled out as candidates
- A few hundred left after the first round of scoring
- 20 to 30 read closely by the expensive neural models
- 10 on your first page
Stage sizes as described in 2023 trial testimony. Bar length follows the number of digits, not the count itself. Drawn to true scale, with the top bar as wide as this page, the bottom bar would be narrower than a hydrogen atom.

People keep asking me for a list of ranking factors. It’s less a list than a sequence. Six things happen on the way down.
- I rewrite your question. Spelling, synonyms, the things you mentioned. Language models work out what you mean and what kind of answer you want… to buy, to learn, to go somewhere.
- I pull candidates two ways. An inverted index with BM25-style scoring finds pages that contain your words. That’s the grandchild of 1990s TF-IDF. Embedding models such as RankEmbed find pages close to your meaning, with or without your words.
- I score the fundamentals. In court exhibits, Google’s engineers summed them up as ABC. Anchors… what links say about you. Body… what your page says. Clicks… what people did. Alongside sits a quality score for the whole site, built on things like PageRank and site authority.
- I read the finalists properly. The expensive neural models, RankBrain and DeepRank, read your query and each surviving page together. A page that matches the words and dodges the question dies here.
- I check the record. Navboost. When people searched this before, did they pick this result? Did they stay?
- I twiddle. Last-second adjustments from small systems that are, I promise, called twiddlers. A nudge for freshness. Variety, so one site can’t take every slot. Demotions for spam.
- Retrieve
- Score
- Read closely
- Check the record
- Twiddle
Twiddle. A freshness nudge for The Newcomer, a thin-content demotion for The Keyword Page. That’s the final order. And The Buried Gem, stuck in fourth, holds the one paragraph an AI answer would most like to quote.
- 5The Keyword PageSays the phrase 40 times. Nobody links to it.23
- 3The Big BrandTrusted retailer. The page mostly sells tires.73
- 1The Solid AnswerClear guide on a respected cycling site.97
- 2The NewcomerBrilliant guide, published last week.83
- 4The Buried GemLong ride diary with one perfect paragraph. likeliest AI citation70
The scores are made up. The stages are not.
Notice who won. Not the best keyword match. Not the biggest brand. The winner is the most relevant page among the trusted ones, adjusted by whether people left satisfied. It’s rarely the best at any single thing.
2024 to now · AI Overviews and query fan-outWhen a language model writes the answer

And then the format changed underneath me. AI Overviews reached U.S. searchers in May 2024. AI Mode followed in 2025. By May 2026 Google was describing an “era of Search agents.” More and more often I don’t hand you ten links. A language model writes you an answer, and my job shifts from ranking pages to choosing which passages it should lean on.
The technique is called query fan-out. Your one question gets split into many smaller ones. Each gets its own search. Then the model reads the best passages from all of them, and writes.
split into narrower searches
- sourdough starter not rising
- best temperature for proofing dough
- how often to feed a starter
- signs a starter is dead
- best flour for a sourdough starter
each one runs its own search, and the strongest passages come back
The Patient Loaf
A starter kept in a cold kitchen works slowly. Move it somewhere warm and it wakes up.
Found by 3 of 5 searches · cited
Flour Lab Notes
Starters fed with whole grain flour usually get going faster than ones fed with white flour.
Found by 2 of 5 searches · cited
The Big Bread Encyclopedia
A 6,000-word history of bread. The useful sentence is in paragraph 41, and it only makes sense if you read paragraphs 38 through 40 first.
Ranks #1 in the classic results · not cited
a language model writes from whatever it can lift out cleanly
Your sourdough probably doesn’t hate you. It’s probably cold 1. Try a warmer spot, and feed it whole grain flour 2.
Invented sites and an invented answer. Please don’t bake from this figure.

The passages that get used tend to share three traits.
- Extractable. A clear answer that still makes sense when it’s lifted out by itself.
- Corroborated. It agrees with what other trusted sources say.
- Found from many angles. It shows up for several of the smaller searches, which rewards real depth on a topic.
The page I rank first and the passage the AI quotes are often two different documents.
Short answers · How search engines workThe part I wrote to be quoted
I just told you what gets cited. Clear answers that stand on their own. It would be strange not to take my own advice.

How do search engines work?
A search engine works in three stages. It crawls the web to discover pages, stores what it finds in an index, and ranks the pages in that index for each search. Ranking is where the judgment happens. Modern engines weigh how well a page matches the query, how much other sites vouch for it, and how past searchers responded to it.
How does Google decide which page ranks first?
Google narrows hundreds of billions of indexed pages to tens of thousands of candidates, scores those down to a few hundred, re-reads the top 20 to 30 with neural models, then makes final adjustments. The page that ranks first is usually the most relevant page among the trusted ones, adjusted by how satisfied past searchers were.
What was the first search engine?
The first search engine was Archie, built in 1990 by Alan Emtage at McGill University in Montreal. It searched file names on public FTP servers, not web pages. WebCrawler, in 1994, was the first to search the full text of web pages. Google launched in 1998.
Was Google the first search engine?
No. Archie, Yahoo, WebCrawler, Lycos, AltaVista and Excite all came before Google. What Google added in 1998 was PageRank, a way to rank pages by who links to them instead of by what they say about themselves.
What is PageRank?
PageRank is the link analysis algorithm Google launched with. It treats each link as a vote and gives more weight to votes from important pages. A page’s PageRank is roughly the chance that someone clicking links at random is on that page at any given moment.
Does Google use LSI keywords?
No. Latent semantic indexing is a real method from the late 1980s, but Google’s John Mueller said in 2019 that there is no such thing as LSI keywords. Google handles related meaning with neural systems such as RankBrain, neural matching and BERT.
Does Google use the meta keywords tag?
No. Google said in 2009 that it does not use the keywords meta tag in web ranking. The meta description is a different tag. It doesn’t move rankings either, but it can be shown as the snippet under a result.
What is Navboost?
Navboost is a Google ranking system that learns from about 13 months of click data… which results searchers choose, and which ones they stay on. It was described in testimony during the 2023 U.S. antitrust trial against Google.
What is query fan-out?
Query fan-out is the technique behind AI search features such as Google’s AI Mode. The system splits one question into several narrower searches, runs each of them, and has a language model write a single answer from the strongest passages it finds.
Why is Google called Google?
The name is a misspelling of googol, the number 1 followed by 100 zeros. The word googol was coined in 1920 by nine-year-old Milton Sirotta, nephew of the mathematician Edward Kasner.
36 years later · How search engines changedThen vs now
The biggest change in thirty-six years is who I listen to.
| What I ask | In the 1990s | Now |
|---|---|---|
| What is this page about? | Keywords in the title, meta tags and body, counted with TF-IDF | Meaning, from language models and embeddings, plus BM25 term matching |
| Who vouches for it? | Nobody. The page vouched for itself | Links weighted by authority, anchor text, trust in the whole site |
| Is it any good? | No idea | Site-wide quality systems, helpful content signals, SpamBrain |
| Did it help anyone? | Couldn’t tell | About 13 months of click history in Navboost |
| What does the searcher mean? | The exact letters typed | Entities, intent, and a fan-out of smaller questions |
| What do I show? | A list of ten links | Links, features, and an AI-written answer with citations |
| How do I get fooled? | Keyword stuffing, hidden text | Bought links, mass-produced AI pages, click manipulation |

In 1996 I trusted the page. By 2002 I trusted the links. Today I trust the people who click… and tomorrow, apparently, whichever passage a language model finds most quotable.
Every shortcut works until I stop trusting that signal. What has survived every era is unglamorous. Be the page other people point to. Answer the question completely. Be the last result someone needs.

And as always… thanks for searching.
More Writing & Research by Jourdan Rombough
View all researchIf AI can't find you, understand you and trust you, it won't recommend you.
Keywords tell you what they typed. Intent tells you what they meant. Fan-out tells you what they'll ask next.
Be a thing, not a string. AI remembers entities, not keywords.
The click isn't dead. It just has to be earned twice.
Schema is the business card you hand to every machine that reads your site.
If Googlebot can't reach it and AI can't parse it, it doesn't exist.
Good SEO grows quietly. Then all at once.





