Chapter 2.2
Types of Queries
Not all queries are created equal. Understanding the intent category is the first step to checking the right index.
Why this matters: You heavily rank results differently based on type. A transactional query ("buy running shoes") needs product grids. An informational query ("how to run") needs articles. Getting this wrong is a catastrophic user experience failure.
Intent Distribution
This checkout breakdown shows the typical distribution of query intents on a general purpose search engine. Note that Informational queries dominate the volume, but **Transactional** queries drive the revenue.
Informational (60%)
"how to", "what is", "history of"
Navigational (20%)
"facebook", "gmail login", "youtube"
Transactional (10%)
"buy iphone", "cheap flights", "download"
Query Classification in Production
Production systems classify queries in real-time to route them appropriately. Each query type has a different primary goal, success metric, and failure state. Understanding these differences helps you build specialized handling for each type rather than treating all queries the same.
| Query Type | Primary Goal | Success Metric | Failure State |
|---|---|---|---|
| Informational | Answer user's question | Time to Result (short) | Pogo-sticking (user clicks back) |
| Navigational | Get to specific page | Top Result CTR (~100%) | User refines query |
| Transactional | Purchase / Convert | Conversion Rate | Zero results found |
| Local | Find physical place | "Get Directions" clicks | Location mismatch |
Deep Dive: Signal Scoring
Production systems don't just use keywords. They use multiple specialized scorers to calculate confidence for each intent type.
Structure & Frequency
Query distribution follows a classic power law: a small number of "fat head" queries drive most of your traffic, while an infinite "long tail" of rare, specific queries makes up the rest. Each segment requires different optimization strategies caching works great for the head, but the tail needs robust query rewriting.
Fat Head Queries
Short, frequent, ambiguous. Top 20% of unique queries driving 80% of volume.
- ✓ Use heavy caching (TTL 1h+)
- ✓ Manual curation / Merchandising
- ⚠ Beware of broad intent
Long Tail Queries
Long, specific, rare. The "infinite tail" where users are very precise.
- ✓ Rely on query rewriting
- ✓ Relax constraints if 0 results
- ⚠ Cache miss rate is high
The 4 Main Types
Every query falls into one of four primary categories based on user intent. Correctly classifying the type allows you to customize the entire search experience from which index to query, to how results are ranked, to what UI treatment they receive. Getting this classification wrong leads to fundamental UX failures.
Informational
"I want to know something"
- Needs: Direct Answer / Knowledge Graph
- Metrics: Time to Result (lower is better)
- UI: Snippets, Answer Cards
Navigational
"I want to go somewhere"
- Needs: Single correct link at #1
- Metrics: Click through rate on #1 (should be ~100%)
- UI: Sitelinks, "Did you mean"
Transactional
"I want to do/buy something"
- Needs: Options, Price comparisons, Reviews
- Metrics: Conversion Rate
- UI: Grids, Filters, Sorting
Local
"I want something near me"
- Needs: Geolocation, Maps, Hours
- Metrics: "Get Directions" clicks
- UI: Map Pack, Address details
Key Takeaways
Classify First
You cannot rank results until you know the query type.
Informational
Goal: Answer. Metric: Time to Result. UI: Snippets.
Transactional
Goal: Purchase. Metric: Conversion. UI: Product Grids.
Navigational
Goal: Navigation. Metric: CTR@1. UI: Sitelinks.