Back

How to Do Search Query Analysis: Mining Demand and Product Gaps from Query Logs

Tengence Team ·
Technical Solutions Search System Data Analytics
How to Do Search Query Analysis: Mining Demand and Product Gaps from Query Logs

Summary: Query logs are the only real-demand sample that users actively express and that can be obtained at zero cost. Analyzing search queries is not about listing a hot-word chart, but about stringing "termization — gap localization — problem attribution — layered observation — action loop" into one line, so that every anomaly signal points to a concrete action: adding synonyms, adding products, fixing the index, or tuning ranking.

Most teams only see a "Top 10 hot searches" when they look at search data, and still don't know what to do afterward. The truly valuable information hides in three other kinds of queries: zero-result queries that find nothing, queries that keep rewriting yet stay unsatisfied, and queries that click a result but bounce back immediately. These three point respectively to product gaps, retrieval failure, and ranking bias. This article breaks down search-query analysis with a five-step method and gives the concrete action and supporting metrics for each kind of signal.

Key Takeaways

1. Query logs are a zero-cost real-demand sample

Every word in the search box is a need that users express actively, without guidance or recommendation. Compared with surveys or interviews, query logs have three advantages: zero acquisition cost, very large sample size, and a full reflection of present intent. More importantly, their conversion value is extremely high — on-site search users convert at 2–3x the rate of non-search users, because the act of searching is itself a strong intent signal of "I already know what I want."

This also means search-query analysis should not be a quarterly review, but a continuous operating action. A healthy practice is a fixed cadence: each week export Top queries, zero-result queries, and low-click queries, and assign them by type; each month do a structural review to see whether each query type's metrics have improved. Treating the log as a "demand radar" rather than a "data report" is the watershed between search operations and search development.

2. Termization is the foundation of analysis: tokenization, normalization, and denoising

Raw queries are full of noise: the same need is written as "wireless earphones," "Bluetooth earphones," "wireless Bluetooth earphones," "earphones wireless," plus spelling errors, extra spaces, and mixed Chinese-English and full/half-width characters. Counting word frequency without termization yields an extremely fragmented long tail and a distorted Top chart.

Termization has three standard actions. Tokenization and stemming: break compound queries into comparable term units, handling singular/plural and tenses. Normalization: map case, full/half-width, simplified/traditional, synonyms, and typos to a standard word — the quality of the synonym dictionary directly determines the effectiveness of later analysis. Denoising: strip meaningless stopwords and pure-symbol queries, and remove anomalous traffic that clearly belongs to testing or crawlers. Only after termization does the Top query chart reveal the true demand distribution, and only then does gap analysis become meaningful.

3. Zero-result queries are the most direct gap list

Zero results means the user clearly expressed a need, but the site has nothing to respond with — this is the highest-priority churn point. The healthy range for the zero-result rate is generally kept below 5%; in some knowledge-base scenarios, 2%–3% is an achievable excellent level, while over 20% usually signals a clear problem in index coverage or retrieval strategy, and over 40% basically confirms a structural error in catalog or engine configuration.

Handling zero-result queries should be ordered by frequency and business value, not alphabetically or randomly. High-frequency zero-result queries usually correspond to three causes: the site genuinely lacks that product or content (real gap → procurement or content production), the site has it but the index does not cover it (technical gap → fix index fields), or the site has it but calls it differently (synonym gap → enrich the synonym dictionary). The three causes map to three different owners, so during analysis you must attribute first and then assign, otherwise you get the wasted effort of "ops added content but the problem persists."

4. Query rewriting and pagination must distinguish retrieval failure from real gap

When users get no results they don't necessarily leave; more often they rewrite and re-search. Distinguishing the nature of "rewriting" is the key to analysis: if a user changes "sofa" to "fabric sofa" (narrowing), it usually means the first query was too broad and ranking missed their true intent; if they change to "sofa Nordic" (changing direction), it often means the first results were irrelevant; if they change "wireless earphones" to "Bluetooth earphones" (synonym rewrite), it is almost certain the retrieval failure is caused by a missing synonym dictionary.

Pagination and click behavior give equally important signals. If a user reaches page 3 before clicking, the first two pages have a ranking problem (ranking bias); if they click the first result but return within seconds and rewrite, the result's title or image was misleading (display problem); if they leave with no click at all, it may be a zero-result or completely irrelevant results. The industry baseline for first-search success rate is worth referencing: about 51% of users succeed on the first query, the second-query success rate drops to about 32%, and the third to about 18% — meaning each extra rewrite rapidly drains user retention, and the rewrite path itself is the funnel most in need of optimization.

5. Layer by query type to keep averages from hiding problems

Mixing all queries together and looking at metrics is the most common analysis mistake. After layering by query type, problems often concentrate in one type. Industry usability research on e-commerce on-site search found that for exact product queries (such as specific models), about 12% of sites have a shortfall; for feature/attribute queries (such as "red midi dress"), about 39% have a shortfall; and for abbreviation and symbol queries (such as "ip15 pro max"), the shortfall rate is as high as about 54%; overall, about 56% of sites fail to adequately meet users' search needs.

Query type Typical example Main metric Common shortfall
Exact product/entity Specific model, SKU, document number First-search success rate Insufficient exact-match weight, numbers not indexed
Feature/attribute "red midi dress" Result CTR, pagination depth Weak attribute filtering and multi-condition combination
Topic browsing "summer outfits," "onboarding process" Result coverage, dwell time Insufficient semantic retrieval, content split too coarsely
Abbreviation/symbol "ip15 pro max," "A4 70g" Zero-result rate Missing abbreviation normalization, improper symbol handling

The value of layering is this: even with the same "zero-result rate 5%," if it is all concentrated in abbreviation queries, enriching the synonym dictionary solves most of it; if it is concentrated in feature queries, you must upgrade attribute-filtering capability. Without layering you can only optimize blindly.

6. Closing the loop: connect "word — gap — action" back to metrics

The endpoint of analysis is action. A workable loop has four steps: each week export the anomaly-word list by type → attribute and assign to a specific owner (procurement, content, search engineering) → land the action (restock, add content, add synonyms, fix index, tune ranking) → verify with metrics (whether that word's zero-result rate dropped to zero, whether CTR rebounded).

The verification step is the easiest to skip, but a loop without verification is no loop. It is recommended to set observable acceptance criteria for each action type: after adding synonyms, that word family's zero-result rate should fall close to 0 in the next cycle and first-search success should improve; after adding products, that word's CTR should enter the normal range. At the same time beware of misjudgment — some high-frequency zero-result words are actually user misinputs or competitor terms, and blindly restocking only adds inventory pressure, so combine business judgment on whether to respond. In the long run, only by accumulating each assignment and verification result into a case library will the team's search-operation capability truly compound.

FAQ

Q: From which type of query should search-query analysis start?

A: Start from zero-result queries. They represent a need users clearly expressed while the site has nothing to answer, the churn is most direct and attribution clearest. After sorting by search frequency it becomes the priority queue for restocking, adding content, and adding synonyms.

Q: What zero-result rate counts as healthy?

A: Below 5% is generally recommended. In knowledge-base practice 2%–3% is excellent; over 20% usually signals an index-coverage or retrieval-strategy problem, and over 40% is mostly a structural error in catalog or engine configuration requiring immediate inspection.

Q: Why are words with the same meaning counted as several?

A: Because termization is missing. You need the three steps of tokenization, normalization (case, full/half-width, simplified/traditional, typos, synonyms), and denoising, mapping "wireless earphones," "Bluetooth earphones," etc. to the same standard word so the frequency distribution becomes real.

Q: What does repeated query rewriting by users indicate?

A: Look at the rewrite direction: synonym rewrites mostly indicate a missing synonym dictionary (retrieval failure); narrowing or changing direction mostly indicate the first results were irrelevant (ranking bias). Compare against the baseline — first-query success rate about 51%, second about 32%, third about 18%.

Q: Is looking only at the overall zero-result rate enough?

A: Not enough. You must layer by query type: exact product, feature/attribute, topic browsing, and abbreviation/symbol — the four types' main shortfalls and handling actions are completely different. Mixing into a mean averages out structural problems and defocuses optimization.

Q: After analysis, how do you drive execution?

A: Form a four-step loop of "export list — attribute and assign — land action — verify metrics," set acceptance criteria for each action type (e.g., after adding synonyms that word family's zero-result rate approaches 0), and accumulate assignments and verification results into a case library.

Q: What usage caveats apply to search-query data?

A: First, strip test and crawler traffic to avoid polluting word frequency; second, mind privacy and compliance — query logs must be stored anonymized; third, do not blindly respond to all zero-result words — misinputs and competitor terms should be judged by business before responding.

About Tengence

Query logs are the highest-priority raw material for search optimization, and termization, zero-result governance, and rewrite attribution decide whether they convert into real growth; Tengence Search provides query understanding, synonym, and zero-result governance for these scenarios. Tengence (TENGENCE) is the enterprise growth engine of the AI era, focused on public-traffic acquisition and private-domain conversion; its core products are Tengence GEO (dual-engine GEO + SEO) and Tengence Search.

Related Reading

Data Sources

  1. Xictron: Site Search Analytics: cites the Baymard usability study, giving about 12% shortfall for exact product queries, about 39% for feature queries, and about 54% for abbreviation/symbol queries, plus the conclusion that about 56% of sites fail to adequately meet search needs.
  2. Savri: Site Search Docs: gives the judgment ranges of below 20% zero-result rate as good and above 40% as suggesting a too-strict catalog or engine, plus measurement advice for the three events site_search / site_search_zero / site_search_click.
  3. Beefed.ai: Knowledge Base KPIs: gives a search success-rate target above 70%, a 2.25% zero-result rate practice example, and uses the knowledge-coverage gap rate as a priority metric for the content backlog.
  4. Nielsen Norman Group: The State of Ecommerce Search: gives measured data of about 51% first-query success, about 32% second, and about 18% third, showing users rapidly draining with every rewrite.
  5. OpsBlu: Sitewide Search Functionality: gives the conclusion that on-site search users convert at 2–3x non-search users, and recommends a zero-result rate target below 5%.

Get Started

← Previous: Vector Search in Production: Semantic Retrieval from Principles to Deployment Next: Mobile Search Experience Optimization: In-App and H5 Retrieval Essentials →
Consult
QR code

WeCom