Ecommerce Search Query Types: Exact, Category, Attribute, and Problem Queries
Ecommerce queries are not one kind of request. A SKU, a product name, a category, a compatibility question, and a policy-page search all need different evidence and different next actions.
Classifying query types gives you a fair way to judge search quality. It tells you what must be exact, what can be exploratory, which constraints must survive, and when a product result is the wrong answer.
Classify the shopper’s job before choosing a ranking or recovery rule. Exact queries protect identity. Category queries need coherent breadth. Attribute and compatibility queries need constraints. Navigation queries need destinations. Problem queries need useful evidence without false certainty. The type determines what a pass looks like and which tempting result must fail.
Chapter 1 · See the query map
Eight query types explain why one “search quality” score is not enough
A high click rate on broad category queries does not prove that SKU lookup works. A good zero-result rate on exact identifiers does not prove that problem queries are helpful. Measure and judge each family according to the job it is meant to complete.
01
Exact identifier
Shopper job: Find one known record or variant.
Good response: Exact identity, direct handoff, and no unsafe substitution.
Boundary test: Change punctuation or option value and confirm the intended identity remains distinct.
02
Product name
Shopper job: Find a named family or model.
Good response: Relevant product family with useful variants and evidence.
Boundary test: Compare a title-only query with a descriptive query for the same family.
03
Category
Shopper job: Browse a product class.
Good response: Coherent breadth, category context, and useful filters.
Boundary test: Check whether the first page represents the category rather than one boosted item.
04
Attribute combination
Shopper job: Constrain a product type by typed properties.
Good response: Every prominent result satisfies the meaningful constraints.
Boundary test: Remove one attribute and confirm the result set widens for the right reason.
05
Compatibility or fit
Shopper job: Find a product that works with another object or condition.
Good response: Compatibility evidence, not merely related wording.
Boundary test: Include a known incompatible item and ensure it is excluded or clearly labelled.
06
Problem or use case
Shopper job: Describe a need in the shopper’s vocabulary.
Good response: Helpful discovery with explanations, content, or honest alternatives.
Boundary test: Review whether the result explains the connection instead of pretending it is exact.
07
Navigation or content
Shopper job: Reach a page, guide, policy, or collection.
Good response: A clear destination or labelled content group.
Boundary test: Try a nearby product query and ensure the redirect does not capture product discovery.
08
Comparison or budget
Shopper job: Shortlist options under a constraint.
Good response: A set that preserves the budget or comparison dimension.
Boundary test: Check prices, currencies, availability, and filter state in the destination.
Chapter 2 · Separate exact from exploratory
A foundational boundary is whether the shopper knows the thing already
Exact lookup and discovery can share a search box, but they cannot share every safety rule. Someone typing a part number is asking the store to preserve identity. Someone typing “warm minimalist lamp for a small room” is asking the store to help interpret a need.
Confusing the two creates familiar failures: exact queries get fuzzy substitutes, while natural-language queries get a rigid no-match. The right response is not to make every query more semantic. It is to recognise which constraints are hard and which evidence is exploratory.
That distinction also changes the interface. Exact lookup should make the matched identity and availability obvious. Discovery should make the breadth, filters, and reason for a result understandable. The query type is therefore a content and UX decision as well as a retrieval decision.
Exact-first behaviour
- Preserve SKU, barcode, model, option, market, and availability identity.
- Prefer an explicit no-match to a confident but incompatible substitute.
- Keep the variant and price promise through product page and cart.
Discovery-first behaviour
- Use descriptions, attributes, content, and related vocabulary as evidence.
- Show why the result fits, or offer a transparent broader path.
- Preserve stated constraints while allowing useful alternatives.
Do not use fuzzy matching as a universal recovery layer. A correction that helps “nikes” may damage “NK-1200”. Test identifier punctuation, model numbers, and option values separately from natural-language misspellings.
Chapter 3 · Protect the constraints
A relevant product is still wrong when it violates the buying constraint
Search quality is not simply “does the word appear?” A result needs the right identity, eligibility, constraints, and supporting evidence. Keep these layers separate so a strong description cannot hide an incompatible variant.
Identity
Protect firstSKU, barcode, model, variant option, or exact part number.
Why it matters: A near match can be worse than an explicit no-match.
Eligibility
Filter before rankingMarket, catalogue, publication, availability, and customer context.
Why it matters: A relevant product that cannot be bought is not a successful result.
Constraint
Preserve when statedSize, colour, material, compatibility, budget, or category.
Why it matters: Dropping a constraint changes the shopper’s job.
Soft evidence
Rank after safetyDescription, related words, popularity, freshness, and editorial judgement.
Why it matters: Soft evidence improves discovery but should not overrule hard facts.
Step · See why classification changes the answer
The same token can need a different result contract in a different query
Consider the word “filter”. In “filter for Model Q”, it is probably a replacement part constrained by compatibility. In “filter products by voltage”, it describes the act of narrowing the result set. One is a product query. The other is a navigation and interface request. A system that treats them as the same type may send a shopper to the wrong product or apply a product rule to the search controls.
Now compare “AB-120-BLK” with “AB-120 black replacement”. The first asks for exact identity. The second may allow a compatible alternative, but only if the relationship is explained and the black constraint remains meaningful. The correct change is not automatically a synonym or a boost. It may be a different result group, a compatibility field, or an honest broader path.
Classifying the type before measuring it gives the team a better conversation. The question becomes “which job failed and what evidence should prove it?” rather than “why did the global relevance score go down?”
Use this rule: when a query type changes, the expected result, disqualifier, metric, and safe control may change with it. Keep those records separate even when they share a search box.
Chapter 4 · Resolve mixed intent
Ambiguous queries need a safe next action, not an invented certainty
Some queries do not announce whether the shopper wants a product, a collection, a guide, or a constraint. Treating ambiguity as a reason to apply a permanent redirect or broad synonym usually creates a new failure for the next shopper.
Use evidence to decide how much to narrow. If the query supports more than one job, keep the paths visible and make the labels do the explaining. The useful outcome is a lower-cost next step, not a guess disguised as relevance.
| Query | What makes it mixed | Safe decision | Boundary test |
|---|---|---|---|
| apple | The token may be a brand, a product, an ingredient, or a content destination. | Keep the response broad until catalogue evidence or the next action makes one interpretation safer. | Run the query against a brand result, a product category, and a content page. Check that no permanent rule hides the alternatives. |
| filter | The word can describe a replacement part or the act of narrowing a result set. | Separate product evidence from filter controls and use compatibility fields before ranking similar parts. | Compare a replacement-part query with a category query that happens to contain the word. |
| summer collection | The phrase looks navigational, but the destination may be seasonal, editorial, or temporary. | Use a redirect only when the collection route is stable, governed, and still the right destination. | Try a nearby product query and confirm it remains a product journey rather than being captured by the campaign rule. |
| desk under £800 | The product class is exploratory, but the budget is a hard constraint. | Preserve the price ceiling, currency, and eligibility context through results and handoff. | Include a product above the ceiling and confirm it is excluded or clearly marked as outside the request. |
Use the search intent pillar to classify the shopper job, then record the decision in the intent mapping framework.
Step · Compare the boundary
A small change in the query should change the job in a predictable way
“AB-120-BLK”
Exact identity. Preserve the black variant and its price and stock. A nearby fuzzy match is not an acceptable recovery.
“AB-120 black replacement”
Still constrained, but now the buyer may accept a compatible replacement. The result should expose the relationship rather than silently broaden.
“replacement parts”
Category discovery. Breadth and filters matter more than one exact item, but compatibility evidence still protects the shortlist.
This is why query types are useful to both content teams and product teams. They turn an abstract promise such as “better relevance” into a sequence of observable differences. When the boundary is explicit, a regression is easier to locate and a repair is less likely to damage a neighbouring job.
Chapter 6 · Build a query set
A type is not useful until it has an expected result and a boundary test
- 1
Collect real queries
Use search logs, support language, sales conversations, and known catalogue tasks. Keep the original spelling and punctuation before normalising anything.
- 2
Assign one primary job
Name the action the shopper needs most: exact lookup, browse, constrain, compare, navigate, or solve a problem. Record ambiguity instead of forcing certainty.
- 3
Write the expected answer
Specify the product family, variant, page, filters, redirect, content group, or empty-state explanation that would satisfy the job.
- 4
List disqualifiers
Record the wrong market, incompatible model, unavailable variant, stale price, misleading synonym, or other result that should fail.
- 5
Test the neighbouring query
Remove a token, change an option, introduce a typo, and try a related phrase. The boundary tells you whether the behaviour is robust or accidental.
- 6
Choose the smallest control
Repair data before adding rules. Use synonyms for true substitutes, ranking for order, redirects for clear destinations, and filters for typed constraints.
Record the negative case. A result set is not good merely because it contains one relevant product. The wrong market, wrong variant, incompatible item, expired page, or misleading fallback should be named so the test can fail for a meaningful reason.
A practical product decision
When query types become operating work, ParticleSearch can keep the interventions distinct
Merchants do not need another abstract taxonomy if every change still becomes a guess. ParticleSearch gives the query type a merchant-visible follow-through: exact and variant-heavy work can use a suitable search profile, vocabulary gaps can be reviewed as synonyms, order problems can be handled as ranking decisions, clear destinations can use redirects, and content intent can use a labelled content group.
The important boundary is that the product does not make a missing identifier, incompatible catalogue record, or unavailable market magically correct. It gives the team a place to apply the right decision and verify the result against the query family that justified it.
Step · Notice the wrong contract
Misclassifying the query makes a technically relevant result feel useless
When “AB-120” is treated as discovery, partial token matches can outrank the exact item. When “running shoes for flat feet” is treated as a category label, the result may return every running shoe without preserving the problem the shopper named. When “returns policy” is treated as a product query, the engine can return products containing the word “return” while the actual answer remains hidden.
The mistake is not merely ranking. The system chose the wrong success contract. Exact lookup needs identity and variant continuity. A problem query needs products or guidance supported by relevant evidence. A navigation query needs a trustworthy destination. Changing boosts without correcting that contract can improve the first screenshot and leave the buyer job unresolved.
Use paired queries to expose the boundary. “AB-120” and “products like AB-120” should not necessarily behave the same. “Waterproof jacket” and “how to waterproof a jacket” share vocabulary but ask for different destinations. The difference between the pair is the evidence that the query type is doing useful work.
Exact becomes broad
The buyer must identify the item again because loose matches displaced the known record.
Constraint becomes theme
A requested budget, fit, compatibility, or material is treated as descriptive flavour instead of a boundary.
Navigation becomes products
A shopper seeking help receives a shelf of products instead of the page that completes the task.
Chapter 7 · Prove the classification
A search experience understands a query when the shopper’s next action makes sense
Exact identity and variant survive the result and handoff.
Stated attributes, compatibility, market, and budget constraints remain visible or testable.
Content and navigation intent do not disappear into product results.
Recovery helps uncertain discovery without rewriting protected identifier intent.
The metric or review queue can show which query family failed and why.
Continue with the ecommerce search intent guide for the complete model, or use the variant search guide when exact identity is the failure.