Skip to content
Nixeny
HomeAbout
PortfolioHelpBlogContact
Nixeny

Since 2021, Nixeny has been a boutique agency based in Mersin, providing digital solutions to businesses across Turkey. We help your brand shine in the digital world.

Quick Links

  • Home
  • About
  • Services
  • Portfolio
  • Help
  • Blog

Services

  • Websites That Sell
  • Rank on Google
  • Mobile Apps
  • Online Store
  • Social Media
  • Logo & Branding

Get in Touch

  • +90 535 878 48 00
  • info@nixeny.com
  • WhatsApp
  • Mersin, Turkey
  • Monday – Saturday: 09:00 – 18:00
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Refund & Delivery
Secure Payment
iyzico ile güvenli ödeme - Visa, MasterCard

© 2026 Nixeny Dijital

E-Commerce

E-Commerce Search and Filtering Architecture: Design Product Discovery End to End

Stop running the search box and the filter panel as separate features. Product data, query understanding, ranking, facet logic, and measurement belong to one discovery system.

Fatih M. Gök
July 31, 20268 min read
Red filter rings and directed data flows on an onyx black ground, separating a deep navy product catalog from search queries into platinum product cards

Table of Contents

  1. 1. Classify search queries as user tasks, not keywords
  2. 2. Build search quality on product data and taxonomy
  3. 3. Design query analysis and ranking as explainable layers
  4. 4. Make facet logic category-specific, predictable, and reversible
  5. 5. Hypothetical scenario: fixing the “running shoes” results
  6. 6. Improve search quality continuously with a query set, behavior, and operations
  7. 7. Limits and failure modes: a smarter engine cannot rescue bad data
  8. Conclusion
  9. Frequently Asked Questions
  10. Sources
Table of Contents
  1. 1. Classify search queries as user tasks, not keywords
  2. 2. Build search quality on product data and taxonomy
  3. 3. Design query analysis and ranking as explainable layers
  4. 4. Make facet logic category-specific, predictable, and reversible
  5. 5. Hypothetical scenario: fixing the “running shoes” results
  6. 6. Improve search quality continuously with a query set, behavior, and operations
  7. 7. Limits and failure modes: a smarter engine cannot rescue bad data
  8. Conclusion
  9. Frequently Asked Questions
  10. Sources

A shopper types “navy waterproof kids jacket” into the store and gets back the two products whose wording happens to match word for word. Another shopper arrives through the category page and wants to narrow by size, warmth, and intended use, but is handed a long filter list built straight out of manufacturer data fields. Both problems trace back to the same root: product discovery is not a search box bolted on after the interface is finished. It is the shared system formed by catalog data, language, ranking, and interaction decisions.

Good discovery architecture does not try to guess perfectly what a shopper wants. It processes the query in a way people can follow, presents products with comparable attributes, makes filter results predictable, and offers a way out of dead ends. This guide designs search and filtering together with the layers around them: product taxonomy, index, facets, ranking, zero results, and measurement. It also ties the technology choice to the catalog and to what shoppers actually need.

1. Classify search queries as user tasks, not keywords

Queries carry different intents: a specific product name or SKU, a category, an attribute, a use case, compatibility, a problem to solve, or a brand. “Running shoes” and “size 42 men's running shoes with pronation support” do not call for the same ranking or the same starting filters. Clean and anonymize your query logs, then group them by high volume, high revenue, zero results, and repeat searches.

Do not define search success solely as an order placed after the query. Filter use, product views, add-to-cart events, and repeat searches are diagnostic signals. A click on the first result is not proof that the right product was found; read task testing and behavioral data together.

Letting separate teams own category browsing and search produces inconsistency. The same “waterproof” attribute has to mean the same thing on the product card, in search synonyms, in the filter, and on the detail page. Whoever owns discovery needs to bring the commercial team, catalog operations, search engineering, design, and analytics to the same decision table.

From query type to discovery behavior
Query typeExampleSystem needSuccess signal
Exact productmodel AB-123SKU and model matchingFast path to the right detail page
Categorycamping tentBroad results and relevant facetsMeaningful narrowing
Attributewaterproof jacketAttribute normalizationEligible products set apart
Compatibilitycase that fits device XRelationship dataA compatible product chosen
Use casecoffee grinder for beginnersContent and product signalsDecision support

2. Build search quality on product data and taxonomy

A search engine cannot invent catalog information it does not have. Product name, brand, category, color, size, compatibility, and stock all need a defined vocabulary. If “navy”, “dark blue”, and the manufacturer's own code stay separate, matching falls apart. Keep the source value intact and normalize the value the shopper sees.

The category tree should support the way shoppers look for products, not the way the warehouse classifies them. Trees that run too deep make browsing hard, and categories that are too broad make filtering hard. A product can belong in more than one context. The category answers what the product is; the facet answers which attribute narrows the list.

Every attribute needs a definition, a data type, allowed values, a unit, a required-or-optional flag, and a source system. Supplier data passes through validation, and an unknown value is never converted into the wrong category. A catalog dashboard prioritizes missing and contradictory attributes by their effect on discovery.

  • Shopper-facing product attributes are defined in the vocabulary.
  • Synonymous values are normalized and the source data is preserved.
  • The roles of category and filter attribute are separated.
  • Unit, language, and market conversions follow explicit rules.
  • Missing and contradictory catalog data is validated before publication.
  • Every critical attribute has a named business owner and source system.

3. Design query analysis and ranking as explainable layers

Indexing turns text into searchable terms. Capitalization, language-specific characters, brand names, and model codes each need different handling; the rule you apply to a description is not the rule you apply to a SKU. Keep spelling tolerance tied to the mistakes that actually appear in your query logs.

Elasticsearch's official text analysis documentation describes an analyzer as the set of rules that processes text during indexing or search. Built-in analyzers such as standard, simple, whitespace, and keyword split text in different ways, and when no suitable ready-made component exists, you can assemble a custom analyzer from character filters, a tokenizer, and token filters. The official reference also recommends testing analyzers before they reach production.Elastic Documentation — Analyzer reference

Keep text relevance, stock, delivery, quality, and commercial rules apart in ranking. Sponsored products must be labeled and must not override the relevance baseline. A popularity model can bury new products that have no behavioral data yet. Every manual pin needs an owner, a rationale, and an end date.

Check the golden query set for the expected product, unsuitable results, and zero results. In an online experiment, watch product views, add-to-cart events, purchases, and repeat searches together. Record the test period, because season, campaigns, and stock levels all shape the outcome.

Explainable layers of search ranking
LayerPurposeRiskControl
Text relevanceMatch the query to the productWrong field weightingGolden query set
Catalog fitProtect stock and deliverabilityRelevant products buried needlesslyMarket and stock testing
BehaviorLearn which results helpPopularity biasProtection for new products
Commercial ruleManage campaigns and sponsorshipLoss of relevance and trustLabel, limit, and end date

Build a discovery system where customers actually find the right product

Review my product discovery architecture

4. Make facet logic category-specific, predictable, and reversible

Not every category wants the same filters. Shoes need size, width, and terrain; televisions need screen size, panel type, and connectivity; spare parts need compatibility. Generic color and price filters are not enough. Build filter names from the language customers use to decide, not from internal data columns, and add a short explanation to any technical term that stays unclear.

Selections within the same group usually behave as OR, and selections across groups as AND: red or blue, and small at the same time. Verify that rule in context. Show the result count up front, summarize the applied filters, and let shoppers clear them one at a time or all at once. On mobile, the selection state must survive.

Elasticsearch's official aggregation reference explains that bucket aggregations group documents by field value, range, or other criteria. A terms aggregation can build a bucket dynamically for every unique value, and the documentation notes that across distributed indices the number of terms returned and the shard settings can introduce a margin of error in document counts. Treat filter counts as something to verify against your configuration and catalog rather than as absolute truth.Elasticsearch Reference — Terms aggregation

Facet URLs have to be shareable and reliable under the back button. Making every combination indexable can create crawl and duplicate content problems, so SEO rules belong in a separate decision. The interface, analytics, and server all need to speak the same parameter contract.

  • Facets are based on the decisions shoppers make in that category.
  • Selection logic within and across groups has been explicitly tested.
  • Result counts, applied filters, and clearing controls are visible.
  • Options that would return zero results are disabled or explained.
  • Mobile filter state survives when the panel closes.
  • Rules for URLs, the back button, sharing, and SEO indexing are defined.

5. Hypothetical scenario: fixing the “running shoes” results

This scenario is hypothetical and does not describe results from a real store. At a sports retailer, the query “women's trail running shoes 39” returns the broad category. The size filter counts variants that are out of stock, and “trail” is held as a category on some products and only in the description on others. Shoppers search again.

The inputs are query logs, the repeat-search rate, catalog field completeness, stock and variant data, and task testing. Instead of buying a new AI ranking model first, the team normalizes product type, terrain, gender presentation, and variant size. Variant availability is held separately in the index, and the query parser maps “trail” to the use attribute and 39 to the size facet.

The decision has three layers: incomplete products are corrected, field weights are tested against the golden set, and the size and terrain facets are made visible. Relevant product views, zero results, repeat searches, add-to-cart events, and returns caused by the wrong variant are tracked together. A model upgrade is considered only once the data is stable.

Action: The decision in this scenario

Before any new search engine, catalog attributes and variant stock are corrected, query fragments are mapped to explicit fields, and the result is tested against a real product task.

6. Improve search quality continuously with a query set, behavior, and operations

Tie search, zero result, filter, sort, product selection, add-to-cart, and repeat-search events to a query ID. Raw queries can contain sensitive information, so set rules for access, retention, masking, and deletion. Review the results by category and by device.

Baymard's research on product lists and filtering states that filtering, sorting, and list design work together to support product finding, and that the research program examines how users scan, evaluate, filter, and sort lists. Those findings give you a starting hypothesis; they do not remove the need for task testing with your own catalog language and your own customers.Baymard Institute — E-Commerce Product Lists & Filtering UX

The first 30 days can cover a query and catalog audit, an event dictionary, and a golden set of the first 50 to 100 critical queries. The next 30 days pilot normalization, synonyms, zero-result recovery, and category facets. The third month brings ranking experiments, a performance budget, and a weekly search operations routine. The exact scope depends on catalog size and team capacity.

The weekly routine reviews zero results, poor-result reports, campaign terms, and rules that have expired. Changes are versioned and have to pass the golden set and performance testing. A correct result that arrives too late is not findable for the shopper.

A balanced dashboard for product discovery
MetricWhat it tells youRisk on its own
Zero resultsA gap in coverage or query understandingSome queries should legitimately return nothing
Repeat searchesThe first result set may be insufficientThe shopper may simply be narrowing intent
Product selectionThe result drew interestNot proof of the right product or a purchase
Add-to-cartA signal of commercial fitStock and price effects are mixed in
LatencyWhat a response costs the systemPerceived speed varies by device

7. Limits and failure modes: a smarter engine cannot rescue bad data

Semantic or vector search can help with natural language queries, but hard constraints such as stock, price, size, and compatibility still require structured data and business rules. Generative answers can invent a product attribute or an option that does not exist. No new method should replace core search without a golden query set, a safe fallback, and product accuracy checks.

Common mistakes include leaving the search box entirely to the technology team, counting a click as success, giving every category the same filters, modeling product variants incorrectly, putting popularity ahead of relevance, letting manual rules run indefinitely, and turning the zero-result page into a dead end. A zero-result page can offer a spelling suggestion, a category, related content, or a route to support; showing unrelated products can damage trust.

Behavioral data reflects how products were presented in the past, so a product that sits low in the list can look bad simply because it gets few clicks. Experiments have to account for position, season, stock, and price. No technology guarantees a specific business outcome. A durable system manages catalog quality, explainable rules, and user research together.

Conclusion

Do not reduce product finding to a search box, a filter panel, or a new algorithm project. Connect the user task to a product vocabulary, handle free text and exact attributes separately, make facet behavior explicit, and validate quality with a query set against real behavior. Solid data is the foundational discovery feature.

Frequently Asked Questions

Sources

  1. 1.
    Elastic Documentation — Analyzer reference

    How built-in and custom text analyzers behave

  2. 2.
    Elasticsearch Reference — Terms aggregation

    Facet-style bucket generation and the limits of distributed document counts

  3. 3.
    Baymard Institute — E-Commerce Product Lists & Filtering UX

    Original usability research on product lists, filtering, and sorting

Build a discovery system where customers actually find the right product

We review your catalog data, your critical queries, your filter logic, and your measurement plan together, then map out the search architecture worth building first.

Review my product discovery architecture

Related Articles

  • E-Commerce

    The Headless Commerce Decision: When Flexibility Creates Value—and When It Creates Debt

    Compare traditional, hybrid, and headless commerce through customer need, operating capability, total cost, and long-term ownership—not technology fashion.

    Read Article
  • E-Commerce

    A Product Page Is Not a Catalogue: Design the Buying Decision

    Build product pages around customer questions, variant truth, mobile tasks, accessibility, trust, and decision quality—not a pile of modules.

    Read Article
  • E-Commerce

    Diagnosing checkout abandonment: a friction map from cart to payment

    Do not read abandonment as a single percentage. Build a diagnostic system that measures intent, total cost, delivery, trust, form and payment errors step by step.

    Read Article