Sub topic 1
What People Are Trying to Find
Prerequisites
This chapter assumes you have the following:
- Basic familiarity with web or mobile app interfaces, such as lists, menus, and forms.
- A working idea of what a form control is (text input, checkbox, dropdown).
- Some programming experience. Later chapters use TypeScript and HTML, but this chapter has only one short code example.
You do not need any search-engine knowledge. This chapter is about the people using the search, not the technology behind it.
Why start with intent
Most search and filter problems are not interface problems. They are mismatches between what a person wants and what the interface assumes they want. A search box that works well for someone who knows the exact product name fails for someone who only knows they need "something warm for hiking."
Intent is the goal behind a person's action. A query is only the words they typed. The same query can come from different intents, and different queries can come from the same intent. Your design decisions in later chapters (the search field, suggestions, filters, empty states) all depend on which intents your app needs to support.
Finding tasks
A finding task is a specific kind of goal a person has when they look for something. Four types cover most apps.
| Task | What the person knows | Example | What success looks like |
|---|---|---|---|
| Known-item | The exact thing, or part of its name | "Invoice 4821", "Dune" | The item is the first result, or very near it |
| Exploratory | A topic or a need, not a specific item | "running shoes", "recipes with lentils" | A useful set to compare, with ways to narrow it |
| Re-finding | They saw or used it before | "that article I read last week" | Recent and personal items are easy to reach |
| Monitoring | A set they check repeatedly | "new listings under $1,500" | The same view is quick to reopen, often with changes marked |
These tasks need different support:
- Known-item tasks reward a fast, precise search field. Autocomplete that completes names helps most. Filters matter little.
- Exploratory tasks reward browsing, filters, and facet counts. People refine as they learn what exists. The first query is often a rough guess.
- Re-finding tasks reward history, recents, favorites, and saved items. Search alone is weak here, because people remember context ("it had a blue header") better than names.
- Monitoring tasks reward saved searches, stable URLs, and sorting by newest.
An app rarely has only one kind of task. A shop supports known-item ("Nike Pegasus 40") and exploratory ("trail shoes") at once, and often re-finding ("my order from March"). Your job is to find out the mix and design for the most frequent and most costly-to-fail tasks first.
Intent beyond the task type
Task type is one dimension. Several others change the design.
How well the person can describe the target
People vary in how much vocabulary they have. An expert says "M12 hex bolt, A2 stainless." A beginner says "small bolt that doesn't rust." Both want the same product. If your catalog only uses expert terms, beginners get empty results. This is why later chapters cover synonyms and query tolerance.
How much the person is willing to compare
Some people want the first acceptable option. Others want the best one. The first group needs strong ranking, because they will rarely look past the first few results. The second group needs sorting, filters, and comparison support.
What kind of thing is being found
Finding a contact, a document, a product, a place, and a setting are different problems:
- Contacts and settings are usually known-item with small, well-named sets.
- Products and listings are often exploratory with many attributes.
- Documents and messages are often re-finding, where date, sender, and content matter more than title.
- Places depend on location, so the map and distance are part of the query.
The cost of a wrong result
A wrong result in a music app costs a few seconds. A wrong result in a medication or banking app can cost far more. When the cost of error is high, favor precision and confirmation over cleverness. Do not silently "correct" a query if the corrected one points to something different.
Context of use
Someone on a phone while walking has less attention and a smaller screen than someone at a desk. Someone using a screen reader navigates by structure, not by sight. These conditions affect how much you can ask of the person, and later chapters return to them.
Intent shows up in the query
You rarely see intent directly, but queries leak signals. Query length, the presence of identifiers, and attribute words all help.
| Query | Likely intent | Signal |
|---|---|---|
| `SKU-20931` | Known-item | Matches an identifier pattern |
| `blue wireless headphones under 100` | Exploratory | Several attributes, a price limit |
| `headphones` | Exploratory, broad | Single category word |
| `order confirmation` | Re-finding | Refers to a past event |
| `sony wh-1000xm5` | Known-item | Brand plus model |
Here is a rough classifier in TypeScript. It is deliberately simple. Its purpose is to show that intent can be treated as data, not to recommend regular expressions as a production approach.
type Intent = "known-item" | "exploratory" | "unknown";
function guessIntent(query: string): Intent {
const q = query.trim().toLowerCase();
if (q === "") return "unknown";
const looksLikeId = /^[a-z]{2,5}-?\d{3,}$/.test(q);
const looksLikeModel = /\b[a-z]+[- ]?[a-z]*\d+[a-z0-9-]*\b/.test(q);
if (looksLikeId || looksLikeModel) return "known-item";
const words = q.split(/\s+/);
const hasLimit = /\b(under|over|below|above|cheap|best)\b/.test(q);
if (words.length >= 3 || hasLimit) return "exploratory";
return "exploratory";
}
console.log(guessIntent("SKU-20931"));
console.log(guessIntent("blue wireless headphones under 100"));
console.log(guessIntent(""));Note the weakness. A single word like "headphones" is treated as exploratory, which is a guess. In practice, you validate guesses like this against behavior data, which the final chapter covers.
Finding is a loop, not a single step
People rarely type one query and finish. They run a loop: formulate, look, judge, adjust.
This loop has design consequences:
- The first query is a draft. Make adjusting it cheap: keep the query visible and editable, and preserve filters between searches.
- Each pass costs effort. Results that show enough information to judge (image, price, key attributes) save a pass.
- Abandonment is a legitimate outcome that you can reduce. It usually follows an empty or confusing results page.
- Information scent matters. People follow cues that suggest a path leads toward their goal. Clear labels and counts give scent. Vague labels like "Other" do not.
Common errors when reading intent
Designers and developers repeatedly make the same mistakes at this stage.
- Designing for one task only. A single prominent search box suits known-item tasks. If your users mostly explore, they need category entry points and filters as first-class features.
- Assuming people know your vocabulary. Internal terms, product codes, and category names often differ from user words. Check the actual queries.
- Treating the query as the whole intent. "Apple" could be fruit, a company, or a recipe. Context such as the section of the app, or the person's recent activity, can disambiguate. Where it cannot, show a mix or ask.
- Ignoring re-finding. Teams invest in search over the whole catalog and forget that many return visits are about a handful of previously seen items.
- Ignoring the cost of error. Aggressive autocorrection or personalization is acceptable for a shop and risky for a clinical or financial tool.
- Relying on opinions. Stakeholders often remember the loudest case, not the common one.
How to find out what your users want
You do not need a research lab. Start with sources you already have.
- Search logs. Look at the most frequent queries and a random sample of rare ones. Frequent queries show the main intents. The long tail shows vocabulary gaps.
- Zero-result queries. Each one is a concrete mismatch between a person's words and your content.
- Support tickets and chat. Questions like "where do I find X" point to search and navigation failures.
- Short interviews or task tests. Give five people a scenario ("You need a gift for a friend who runs") and watch what they type and where they hesitate.
- Analytics on navigation. If many people go from the home page to search and then straight to a category, your navigation may not be exposing that category.
Write what you learn as a short list of top finding tasks, with an estimate of how common each is. That list becomes the checklist for the later chapters.
What this means for the rest of the tutorial
The remaining chapters take the task types from this one and build interface pieces for them. Search versus filtering versus browsing is the next decision, and it follows directly from the tasks above. Known-item tasks lean toward search. Exploratory tasks lean toward filtering and browsing. Re-finding and monitoring lean on saved state and history.
Exercise
A hardware store's app has a search box. Its logs show frequent queries like "m8 bolt", "something to fix a leaky tap", and "my last order". Classify each query by finding task, and say which one is probably served worst by a search box alone.
Show answer
"m8 bolt" is a known-item task, because it names a specific part. "something to fix a leaky tap" is exploratory, because the person describes a need and does not know the item name. "my last order" is re-finding. The exploratory query is likely served worst by a plain search box, because the catalog may use words like "washer" or "cartridge" and not "leaky," so it needs synonyms, guided categories, or filters. The re-finding query is a close second if the app has no order history entry point.
Exercise
You find that 15% of queries in your logs return zero results. Name two possible causes related to user intent, and one way to check each.
Show answer
One cause is a vocabulary gap: people use words your content does not use (for example "sneakers" when the catalog says "trainers"). Check it by reading a sample of zero-result queries and grouping them by the missing term. Another cause is a wrong-place search: people are looking for something that is not in this section or not in the product at all (for example order status in a product search). Check it by sampling the queries and seeing whether they refer to content that exists elsewhere in the app.