Ranking Search Results: Recency vs. Relevance

Early Earlybird's default ordering was "newest first" — the query itself is a filter, not a ranker. The modern product layers a relevance model on top, mirroring the timeline's own delivery-vs-ranking split.

Recency as the original ranking signal

Because posting lists are kept in tweet-ID (time) order and each leaf naturally returns its local matches newest-first, "most recent tweets matching X" was close to Earlybird's native output with no extra ranking step — the index's physical layout was the ranking. This made sense for the original product framing: search was a real-time feed of what's being said about a topic right now, not a ranked "best" answer.

Layering relevance on top — the same shape as the timeline's algorithmic timeline part

As the product matured, pure recency stopped being good enough — the newest tweet matching a query is frequently spam, a duplicate, or low-quality, while a slightly older tweet might be the one users actually want. So a relevance layer sits on top of the raw retrieval, structurally identical to how the main study's algorithmic timeline sits on top of fan-out delivery:

┌─────── RETRIEVAL (this guide, Sections 1–4) ───────┐
│  inverted index lookup + root/leaf fan-out          │
│  → produces a candidate set of matching tweet IDs,  │
│    naturally recency-ordered                        │
└───────────────────────┬──────────────────────────────┘
                         │ candidates
                         ▼
┌─────── RANKING (relevance layer) ────────────────────┐
│  score by engagement signals, author quality,        │
│  query-term match quality, recency as one input       │
│  among several (not the only input)                   │
│  → produces the ranked search results shown to users  │
└─────────────────────────────────────────────────────┘

Exactly as with the timeline's ranking layer, this separation buys graceful degradation: if the relevance model is slow or unavailable, the product can fall back to the retrieval layer's native recency order and still return a usable (if lower-quality) result set — retrieval must not fail, ranking can degrade.

Where search retrieval feeds back into the timeline

The main study's algorithmic timeline part already notes that the algorithmic timeline's out-of-network candidate retrieval — finding tweets from accounts you don't follow — uses search-and-engagement-style indexes (SimClusters, UTEG) as an input. This is the one place the two systems this guide and the main study describe actually touch: content/engagement retrieval, conceptually adjacent to what this guide describes, becomes an input signal into the modern "For You" feed, even though the timeline's core delivery machinery (fan-out, timeline ZSETs) and the search product remain entirely separate systems, built and scaled independently.