Facets + URL state / 2m 16.52s

Filter products and keep your search.

A shopper filters and sorts a category, then reloads the page. The same search settings are restored.

About this film · test data

Recorded in July 2026 in the development environment using test data. The film preserves the interface and narration from that time; the linked guide explains the implementation and later changes. AI tools helped prepare this material.

Silent film with burned-in narrationOpen WebM directly

What to notice

  1. Start broadA category page shows products and the filters available for them.
  2. Add filtersMatter compatibility, AeroClean brand, battery power and free text narrow the list.
  3. Change orderingPrice sorting changes the result sequence without losing active constraints.
  4. Reload safelyThe URL restores query, filters, sort and pagination so the search remains shareable.

Why it matters

Saving filters in the URL lets a customer reload or share the same search.

The filter counts update as selections narrow the results. The URL keeps those selections through reloads and navigation.

Behind the scenes

Search settings in the URLQuery, facets, sort and page
→
Catalog search APIBounded query and typed filters
→
ElasticsearchProducts, totals and facet aggregations
→
Restored storefrontVisible state agrees after reload
Catalog owns search semantics. Elasticsearch is a derived read model; the storefront owns the navigable URL state.

What this film shows

On screen

Filters, sorting, counts and reload restoration work together in the real storefront.

Not claimed

The film does not cover spelling correction, every attribute type or search behavior at production scale.

Read the complete Search technical explanation.

How we test changesRead about testing and deployment